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.

alberto's latest activity

Wednesday, April 06 2011
4655 add _delete key for accepts_nested_attributes_for ? was updated in Ruby on Rails
  • alberto
    alberto commented at 12:44 AM

    I agree with almost everything. The only arguable thing is:

    you may want to simply stick to associations instead of nested attributes for your use case.

    If th...

Tuesday, April 05 2011
4655 add _delete key for accepts_nested_attributes_for ? was updated in Ruby on Rails
  • alberto
    alberto commented at 7:34 PM

    P.S. the same is true if you have an HABTM relation instead of an has_many :through.

  • alberto
    alberto commented at 7:32 PM

    This request seems to have sense to me, since I agree with you there is no simple way (i.e. without using before_save hooks) to just delete the relationship wit...