On Dec 7, 3:16 pm, Fresh Mix <[email protected]> wrote:
> How can I make same query without "find_by_sql"?

Stick your conditions in a call to  where() and your select clause in
a call to select()

Fred
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
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