Brandon Keepers
2008-May-31 20:57 UTC
Associations'' dynamic finders fail with :order depends on :include
I wanted to point out a bug in Trac that was opened a couple months ago. When using dynamic finders on an association, the eager loading is ignored, which raises an error if the eagerly-loaded association is used in the conditions or order. I''ve updated the patch to work with edge rails. Please review and apply. http://dev.rubyonrails.org/ticket/11562 Brandon
Brandon Keepers
2008-May-31 22:45 UTC
Re: Associations'' dynamic finders fail with :order depends on :include
On Sat, May 31, 2008 at 1:57 PM, Brandon Keepers <brandon@opensoul.org> wrote:> I wanted to point out a bug in Trac that was opened a couple months ago. > When using dynamic finders on an association, the eager loading is ignored, > which raises an error if the eagerly-loaded association is used in the > conditions or order. > > I''ve updated the patch to work with edge rails. Please review and apply. > > http://dev.rubyonrails.org/ticket/11562 > > Brandon >I''ve re-submitted the ticket on LH: http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/287 Brandon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---