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.

pete_lacey's latest activity

Monday, February 23 2009
1930 autosave should validate associations even if master is invalid was updated in Ruby on Rails
  • pete_lacey
    pete_lacey commented at 4:51 PM

    @eloy. Tested new patch on my app. All looks well. +1

Friday, February 20 2009
1930 autosave should validate associations even if master is invalid was updated in Ruby on Rails
  • pete_lacey
    pete_lacey commented at 8:46 PM

    @eloy: Nope not a test, it's the real thing. Until now, we've been using Ryan's famous approach to multi-model form support, which worked but had a lot of movin...

  • pete_lacey
    pete_lacey commented at 5:47 PM

    +1

    I have the poster child application for testing nested attributes. It uses 27 deeply nested calls to accepts_nested_attributes_for and exercises them all sim...

Wednesday, February 11 2009
1912 accepts_nested_attributes_for :reject_if option not honored for has_one assoc... was updated in Ruby on Rails
  • pete_lacey
    pete_lacey commented at 6:42 PM

    Just to let people know, the patch does resolve this issue. Thanks!

1941 autosave generates error when one-to-one association is empty after being acc... was updated in Ruby on Rails
  • pete_lacey
    pete_lacey commented at 6:39 PM

    Final note. I got a little smarter about Git and was able to apply both patches. I can now confirm this works and works in conjunction with nested attributes.

    T...

  • pete_lacey
    pete_lacey commented at 5:43 PM

    Gaspard,

    Thanks! I thought that patch would help too, and tried it before reporting. Unfortunately, it's mutually incompatible right now (from a Git point of vi...

  • pete_lacey
    pete_lacey created the ticket at 3:34 PM

    I'm not sure how best to phrase this issue, and it might ultimately be a problem with association proxies, but the problem I am seeing in Rails Edge (as of 2009...

Sunday, February 08 2009
1912 accepts_nested_attributes_for :reject_if option not honored for has_one assoc... was created in Ruby on Rails
  • pete_lacey
    pete_lacey created the ticket at 2:19 PM

    Maybe this is intentional, but it seems that the :reject_if option of the accepts_nested_attributes_for macro does not work for has_one (and belongs_to ?) assoc...