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.

C. Bedard's latest activity

Tuesday, November 30 2010
6084 ActiveRecord Association Proxy/Collection create method incorrectly merges at... was updated in Ruby on Rails
  • C. Bedard
    • Tag changed from activerecord rails3, associations, build, create, scope, with_scope to activerecord rails3, associations, build, create, patch, scope, with_scope
    by C. Bedard at 7:59 PM

    More on this issue:

    I initially thought the problem was in ActiveRecord::Base#with_scope but now after more digging, I found out the problem originates in Activ...

Monday, November 29 2010
6084 ActiveRecord Association Proxy/Collection create method incorrectly merges at... was created in Ruby on Rails
  • C. Bedard
    C. Bedard created the ticket at 8:59 PM

    Given the following associated models:

    class Client < ActiveRecord::Base
      has_many :orders
    end
    
    class Order < ActiveRecord::Base
      belongs_to :client
    end
    

    And...

Thursday, November 18 2010
6004 Fixtures with serialized attributes are not properly loaded was updated in Ruby on Rails
  • C. Bedard
    • Tag changed from array, hash, quoting, serialize to array, fixtures, hash, quoting, serialize
    by C. Bedard at 8:37 PM
  • C. Bedard
    • Tag changed from quoting serialize array hash to array, hash, quoting, serialize
    by C. Bedard at 4:08 PM
  • C. Bedard
    C. Bedard created the ticket at 4:00 PM

    Having a model with serialized attributes (as an Array or Hash) doesn't allow to create YAML fixtures for them. Example:

    class User
      serialize :preferences, H...
Monday, April 06 2009
1339 AR::Base should not be nuking it's children, just because it lost interest was updated in Ruby on Rails
  • C. Bedard
    C. Bedard commented at 6:24 PM

    Just to make it clear for people who encounter the exception and end up reading about it here:

    • The exception is raised when ActiveRecord::Base#skip_time_zone_c...
Friday, February 27 2009
1340 Rounding problem in number_with_precision was updated in Ruby on Rails
  • C. Bedard
    • Tag set to number_helper, number_with_precision, patch, round
    by C. Bedard at 3:06 PM

    As Ryan Warnick mentions, it really is a Ruby issue with sprintf.

    Ticket #2071 seems to be a duplicate of this report.

    Attached is a patch to fix the problem co...

Thursday, February 26 2009
2088 Mongrel not being stopped with CTRL-C under Windows was created in Ruby on Rails
  • C. Bedard
    C. Bedard created the ticket at 8:17 PM

    Because of the way Rack::Handler::Mongrel instantiates the Mongrel::HttpHandler, it becomes impossible to shutdown the server with CTRL-C unless one actually en...

Monday, January 12 2009
1339 AR::Base should not be nuking it's children, just because it lost interest was updated in Ruby on Rails
  • C. Bedard
    C. Bedard commented at 6:11 PM

    Also, come to think of it: Tom's patch, by not stripping down the subclasses, does not address the underlying issue (which is really that an AR subclass might n...

  • C. Bedard
    C. Bedard commented at 5:27 PM

    @Geoff: You're saying "...then it would never return instances of stripped-down classes: unmarshaling would re-create instances with current class definitions."

    ...