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.

kyanagi's latest activity

Thursday, November 18 2010
5993 A class of associated object is not equal to the original one. was updated in Ruby on Rails
  • kyanagi
    kyanagi commented at 9:36 AM

    I could make smaller code which reproduce the problem.

    require 'rubygems'
    require 'active_support/dependencies'
    
    class X; end
    ActiveSupport::Dependencies.remov...
Wednesday, November 17 2010
5993 A class of associated object is not equal to the original one. was created in Ruby on Rails
  • kyanagi
    kyanagi created the ticket at 3:33 PM

    I found some strange behavior with 3.0.3. (ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux])

    Please see the code:

    database:

    # create table users (id integer...
Tuesday, November 16 2010
5978 behavior of ActiveRecord::Base#== changes between 3.0.1 and 3.0.2 was created in Ruby on Rails
  • kyanagi
    kyanagi created the ticket at 12:17 AM

    In 3.0.1:

      def ==(comparison_object)
        comparison_object.equal?(self) ||
          (comparison_object.instance_of?(self.class) &&
            comparison_object.id =...