hi..
I have a question concerning the method find_by_sql()..
i wonna to make a query like this:
"SELECT category, COUNT(*) FROM tables1"
but cannot return anything..
I want to know the correct procedure for the output in view..
In my trials I've found this:
thanks so much..
but i wonna create a menu with all categories in tables..
for example:
Bio (3) -- numeber 3 are articles in table..with category = bio
Ruby (10) -- same as above but with category = ruby
ok?
In PHP I can have this result with a query..
I want this with RoR..