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.

fritz's latest activity

Tuesday, September 01 2009
3120 ActiveRecord::Base#== is non-commutative when comparing a loaded versus initi... was updated in Ruby on Rails
  • fritz
    fritz commented at 5:53 AM

    Followup: we've been using the following monkeypatch locally and it seems to work well. Note the restriction on nil ids.

    module ActiveRecord
      class Base
        d...
Monday, August 31 2009
3120 ActiveRecord::Base#== is non-commutative when comparing a loaded versus initi... was created in Ruby on Rails
  • fritz
    fritz created the ticket at 7:02 AM

    If you compare a fully loaded model object with an initialized object of the same type and with the same id, the result of the == operator depends on order of o...