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
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
Alex Shkolnikov 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
you need to provide little more info. Are they separate models/entities ( individual tables) or an STI - single table inheritance?
they are individual tables, not sti
I wrote up some examples for the syntax for :include / :joins a little while ago: Nested includes and joins - Space Vatican
Thanks a lot!