I gave up on find_by_sql (it wasn't adding the attributes it seemed it
should) and am using select_all:

@posts = ActiveRecord::Base.connection.select_all(query_method)

On Jan 8, 4:16 pm, djangst <[email protected]> wrote:
> The other problem I have is find_by_sql is only returning a couple of
> columns from one table, when it's supposed to return many columns from
> several tables.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to