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.

Aaron Lifton's latest activity

Sunday, July 11 2010
5041 Use of marked_for_destruction? in validation callback breaks autosave associa... was updated in Ruby on Rails
  • Aaron Lifton
    Aaron Lifton commented at 5:20 PM

    Well I was on Rails 3.0.0.beta4, I'll install rails edge and let you know.

Thursday, July 08 2010
5041 Use of marked_for_destruction? in validation callback breaks autosave associa... was updated in Ruby on Rails
  • Aaron Lifton
    Aaron Lifton commented at 11:07 PM

    Great, thanks a lot for helping and trying to reproduce the error.

Sunday, July 04 2010
5041 Use of marked_for_destruction? in validation callback breaks autosave associa... was created in Ruby on Rails
  • Aaron Lifton
    Aaron Lifton created the ticket at 4:42 AM

    I have a debate model, which should have at least 2 sides.
    Here's some code:

    has_many :sides, :dependent => :destroy
    accepts_nested_attributes_for :sides, :all...
Saturday, July 03 2010
5022 assign_nested_attributes_for_collection_association should accept minimum limits was updated in Ruby on Rails
  • Aaron Lifton
    Aaron Lifton commented at 9:27 PM

    Here's my solution:

    Instead of options[:limit], there would be options[:lower_limit] and options[:upper_limit], so both directions could be taken into account.

    ...

Wednesday, June 30 2010
5022 assign_nested_attributes_for_collection_association should accept minimum limits was created in Ruby on Rails
  • Aaron Lifton
    Aaron Lifton created the ticket at 11:07 PM

    # activerecord/lib/active_record/nested_attributes.rb

    def assign_nested_attributes_for_collection_association(association_name, attributes_collection)
      option...