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.

Brad Pauly's latest activity

Wednesday, April 29 2009
922 has_many through transaction rollback was updated in Ruby on Rails
  • Brad Pauly
    Brad Pauly commented at 6:35 AM

    Hi Xavier, Thanks for explaining. I went back to your original patch and started over. I have MySQL and Sqlite3 passing, just need to figure out Postgresql.

Saturday, April 25 2009
922 has_many through transaction rollback was updated in Ruby on Rails
  • Brad Pauly
    Brad Pauly commented at 8:08 AM

    Posting a patch if anyone is interested. Essentially the same as Xavier posted but without update_attribute and with the change to developer model.

  • Brad Pauly
    Brad Pauly commented at 5:49 AM

    I'm not sure I completely understand, but I'm wondering if update_attribute should also do this since it doesn't do validation and update_attribute(:foo_ids, []...

  • Brad Pauly
    Brad Pauly commented at 5:22 AM

    I think the failures were because the default in delete_records is to nullify and there are db constraints. By changing the audit_logs in Developer to dependent...

Monday, October 27 2008
1271 weird loop behaviour was updated in Ruby on Rails