sql server - Rails 4 - MS SQL select * statement returning total count -
i'm trying run select statement on table in ms sql server 2008 database within rails application related gem acts-as-taggable-on if helps any. there no model/controller/activerecord table, doing tags.all (or of normal methods) won't anything. i'm on arch linux, ruby 2.1.6 rails 4.1.11. i want "name" field returned, i'll settle on returning of fields select * statement. from rails console, these commands i'm running. sql = "select * tags" activerecord::base.connection.execute(sql) which returns: select * tags => 191 what expected 191 rows of fields (id:integer 4, name:string 255, taggings_count:integer 4) running similar select statement within ms sql server manager software returns expected output. the database.yml connected ms sql database. its sql statement trying run count(*) query instead of * query. but, if run count(*) query, returns 1 instead of 191. i'm lost, co-workers, on causing this. , int...