Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Stefano C.'s latest activity

Wednesday, June 25 2008
258 Eager loading optimisation misses if order specified was updated in Ruby on Rails
  • Stefano C.
    Stefano C. commented at 7:31 PM

    Woops, I was trying the various combinations and I pasted the wrong one :-)

    Here is the right one, straight from my project:

    class Release
      belongs_to :mov...
  • Stefano C.
    • Tag set to 2.1, activerecord, bug, eagerloading, named_scope, order
    by Stefano C. at 4:37 PM

    I have the same problem (Rails 2.1.0 via gems) with a named_scope:

    class Release
      belongs_to :movie
      named_scope :by_title, :order => "movies.title"
    end
    ...