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.

Jeff Bigler's latest activity

Thursday, June 17 2010
4642 Unsaved changes to nested attribute collections are lost when using collection was updated in Ruby on Rails
  • Jeff Bigler
    Jeff Bigler commented at 3:47 PM

    On a side note, rolling back this commit prevents nested attributes that are not mapped to database fields from being updated.

Thursday, May 20 2010
4242 Nested child only updates if parent changes. was updated in Ruby on Rails
Tuesday, April 27 2010
4242 Nested child only updates if parent changes. was updated in Ruby on Rails
  • Jeff Bigler
    Jeff Bigler commented at 3:53 PM

    I know what you mean Eloy. It seemed that the change which broke the original functionality was intended to reduce unnecessary database writes, so I wrote the p...

Sunday, April 18 2010
4242 Nested child only updates if parent changes. was updated in Ruby on Rails
  • Jeff Bigler
    Jeff Bigler commented at 10:11 PM

    I've updated the patch to work with the latest revision of Rails 3.0 head. Since no one has responded, I'll try contacting someone via #rails-config.

Wednesday, April 07 2010
4242 Nested child only updates if parent changes. was updated in Ruby on Rails
  • Jeff Bigler
    • Tag changed from accepts_nested_attributes_for fields_for, rails 3.0 beta, accepts_nested_attributes_for, fix, patch to accepts_nested_attributes_for fields_for, rails 3.0 beta, accepts_nested_attributes_for, patch
    by Jeff Bigler at 11:05 PM

    Oops, didn't mean to add a "fix" tag. D'oh!

  • Jeff Bigler
    • Tag changed from accepts_nested_attributes_for fields_for, rails 3.0 beta, accepts_nested_attributes_for, patch to accepts_nested_attributes_for fields_for, rails 3.0 beta, accepts_nested_attributes_for, fix, patch
    by Jeff Bigler at 11:03 PM

    OK, I've worked up a patch that fixes the problem without breaking anything. This patch file includes the updated tests as well as the changes to ActiveRecord t...

Tuesday, April 06 2010
4242 Nested child only updates if parent changes. was updated in Ruby on Rails
  • Jeff Bigler
    Jeff Bigler commented at 6:18 AM

    I've been able to narrow the problem down to the associated_records_to_validate_or_save method in activerecord/lib/active_record/autosave_association.rb.

    The li...

Monday, April 05 2010
4242 Nested child only updates if parent changes. was updated in Ruby on Rails
  • Jeff Bigler
    • Tag changed from accepts_nested_attributes_for fields_for, rails 3.0 beta, accepts_nested_attributes_for to accepts_nested_attributes_for fields_for, rails 3.0 beta, accepts_nested_attributes_for, patch
    by Jeff Bigler at 9:25 PM

    Here is a patch with the failing test cases.

  • Jeff Bigler
    Jeff Bigler commented at 4:06 AM

    I can also confirm this bug on Rails 3 beta2/edge. My parent object only contained foreign keys, so the problem was not obvious at all, glad I found this ticket...

Friday, February 26 2010
3089 Regression in 3.0pre With content_for And Layouts was updated in Ruby on Rails
  • Jeff Bigler
    Jeff Bigler commented at 6:05 AM

    This appears to be a duplicate of ticket #3459

    The patch provided in that ticket fixed the problem.