Saturday, October 24, 2009

[Rails] Re: issue with eager loading in nested routes

On Oct 24, 1:58 pm, nin_d <ninadpachp...@gmail.com> wrote:
> Hi Everyone,
>
> I have issue while doing eager loading when url is =>http://127.0.0.1:3001/projects/1/features
> I also did <%= debug @features %> to dump @feature object but I did
> not see 'owner' being eager-loaded.
>
> Can anyone find out why owner is not being 'eager-loaded'?
>

Does the owner exist at all ? remove the :include, if the exception
persists then you know eager loading is not at fault.

Fred

--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate