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.

Paul Gillard's latest activity

Saturday, July 25 2009
1954 Dirty Objects: attribute_reset was updated in Ruby on Rails
  • Paul Gillard
    Paul Gillard commented at 1:52 PM

    Makes sense to me. I'll work something together. At first glance it looks AttributeMethods will need to expand to include more than just #attribute_method_suffi...

Thursday, July 16 2009
1954 Dirty Objects: attribute_reset was updated in Ruby on Rails
  • Paul Gillard
    Paul Gillard commented at 6:25 PM

    Very good point on the missing bang. Updated patch. All tests pass in MySQL, SQLite3 and PostgreSQL.

Tuesday, July 07 2009
1954 Dirty Objects: attribute_reset was updated in Ruby on Rails
  • Paul Gillard
    • Tag changed from activerecord, dirty, reset, test to activerecord, dirty, patch, reset, test
    by Paul Gillard at 8:38 AM

    Updated patch attached. Original implementation by Guillermo is unchanged but test case fixed along the lines of comment by YoNoSoyTu. I've also updated the doc...