On Feb 1, 8:55 am, Alex Shkolnikov <alex.shkolni...@gmail.com> wrote: > Hello all! > > Here is the gist with my problem:http://gist.github.com/291533 > > I need to get all records with one query. Is it possible? Thanks
I wrote up some examples for the syntax for :include / :joins a little while ago: http://www.spacevatican.org/2008/8/8/nested-includes-and-joins -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.