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.

Bryan Stearns's latest activity

Monday, October 12 2009
2578 accepts_nested_attributes_for causes stack level too deep was updated in Ruby on Rails
  • Bryan Stearns
    Bryan Stearns commented at 2:20 AM

    Aha: In my situation, the child model wants to validate_presence_of the parent reference, but the parent reference isn't included in the hash used to create the...

Friday, October 09 2009
2578 accepts_nested_attributes_for causes stack level too deep was updated in Ruby on Rails
  • Bryan Stearns
    • Tag cleared.
    by Bryan Stearns at 12:23 AM

    Hm. I'm now back to working on the problem this patch was supposed to fix, and it's not fixing it (I'm still seeing the stack overflow). I'm trying to figure ou...

Thursday, October 01 2009
2578 accepts_nested_attributes_for causes stack level too deep was updated in Ruby on Rails
  • Bryan Stearns
    • Tag set to patch
    by Bryan Stearns at 4:27 PM

    OK, then! Thanks, Lawrence - Hi Eloy. Was I supposed to add a "patch" tag? Oh, look, here's one.

  • Bryan Stearns
    Bryan Stearns commented at 8:19 AM

    Thanks, Lawrence! OK, here's your patch, combined with a test that looks for the stack overflow; only the new test fails without your patch, and passes with it.

  • Bryan Stearns
    Bryan Stearns commented at 2:59 AM

    I think my problem (which I asked about on rails-core) is the same as this: I even used an Invoice/LineItem example! My Invoice has a before_save that sums Line...