So what's the solution to that Fred ? I would have to load question also
when I load the subquestion ? That would mean doing a different query twice
for extracting the same object. Or is there any other way around ?

On Sat, Feb 28, 2009 at 5:15 AM, Frederick Cheung <
frederick.che...@gmail.com> wrote:

>
>
>
> On Feb 27, 5:58 pm, Arpit Jain <arpitjai...@gmail.com> wrote:
> > Can anyone explain to me the sql query done in the last step :
> >
> > http://pastie.org/402200
> >
>
> Because activerecord isn't super smart in this way and doesn't fill in
> associations bidirectionally when they are loaded.
>
> Fred
>
>
> > --
> > Arpit Jain
> >
>

--~--~---------~--~----~------------~-------~--~----~
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-talk@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to