Iam working in rails 3. i need count the row values from a mysql table.
In rails 3 i want to write that query in controller.
SELECT count(*) FROM #{table_name}
is that the correct query method.?
Iam working in rails 3. i need count the row values from a mysql table.
In rails 3 i want to write that query in controller.
SELECT count(*) FROM #{table_name}
is that the correct query method.?