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.

George Montana Harkin's latest activity

Friday, October 15 2010
2415 accepts_nested_attributes_for does't work when nested_attributes hash has an ... was updated in Ruby on Rails
Monday, June 28 2010
2415 accepts_nested_attributes_for does't work when nested_attributes hash has an ... was updated in Ruby on Rails
  • George Montana Harkin
    • Tag changed from 2.3.2, 2.3.6, 2.3.8, accepts_nested_attributes_for, patch to 2.3.2, 2.3.6, 2.3.8, 3.0, accepts_nested_attributes_for, patch
    by George Montana Harkin at 4:21 PM

    Thanks Rohit and José! RailsCommunity++

Wednesday, June 23 2010
2415 accepts_nested_attributes_for does't work when nested_attributes hash has an ... was updated in Ruby on Rails
Monday, June 14 2010
2415 accepts_nested_attributes_for does't work when nested_attributes hash has an ... was updated in Ruby on Rails
  • George Montana Harkin
    • Tag changed from rails 2.3.8, 2.3.2, 2.3.6, accepts_nested_attributes_for to 2.3.2, 2.3.6, 2.3.8, accepts_nested_attributes_for
    by George Montana Harkin at 6:38 PM
  • George Montana Harkin
    George Montana Harkin commented at 5:48 PM

    Thanks for the note José. Attached is an updated test (which found issues in my patch.) and an updated patch (thanks to the tests).

    Apply the tests patch to see...

Friday, June 11 2010
2415 accepts_nested_attributes_for does't work when nested_attributes hash has an ... was updated in Ruby on Rails
  • George Montana Harkin
    • Tag changed from 2.3.2, 2.3.6, accepts_nested_attributes_for to rails 2.3.8, 2.3.2, 2.3.6, accepts_nested_attributes_for
    by George Montana Harkin at 9:09 PM

    @Ryan,

    I think the test just needs an :id field.

    I've created a patch that solves our issues related to this bug. It fixes the problem by creating a new instanc...

3052 assign_nested_attributes_for_collection_association ought to assign object's ... was updated in Ruby on Rails
  • George Montana Harkin
    George Montana Harkin commented at 7:37 PM

    Yeah, this is a duplicate of #2415

  • George Montana Harkin
    George Montana Harkin commented at 7:34 PM

    We shouldn't have to named the id something specific. :id is the name of the field and it should create or assign the related Pirate automatically from that. If...

Wednesday, June 09 2010
3052 assign_nested_attributes_for_collection_association ought to assign object's ... was updated in Ruby on Rails
  • George Montana Harkin
    George Montana Harkin commented at 10:06 PM

    thanks subbarao, that looks simliar to the issue we're running into.

    That fix is kind of a pain as we're using fields_for which automatically inserts an :id fie...

2415 accepts_nested_attributes_for does't work when nested_attributes hash has an ... was updated in Ruby on Rails