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.

Scott Barr's latest activity

Wednesday, August 19 2009
2650 Added previous_changes to ActiveRecord::Dirty was updated in Ruby on Rails
  • Scott Barr
    Scott Barr commented at 4:04 PM

    The original patch wouldn't apply because dirty.rb moved after I submitted the patch.

    Let me know what this ticket needs and I'll put it together.

Saturday, August 08 2009
2650 Added previous_changes to ActiveRecord::Dirty was updated in Ruby on Rails
  • Scott Barr
    Scott Barr commented at 2:11 PM

    I'll clean up the patch and resubmit.

Saturday, May 23 2009
1272 ruby19 incompatibility: ActiveResource::Connection#http, use_ssl? was updated in Ruby on Rails
  • Scott Barr
    Scott Barr commented at 2:58 AM

    Patch works for me with Ruby 1.9.1 and 1.8.7

Friday, May 15 2009
2650 Added previous_changes to ActiveRecord::Dirty was updated in Ruby on Rails
  • Scott Barr
    • Tag changed from patch to activerecord, dirty, patch
    by Scott Barr at 12:57 PM
  • Scott Barr
    Scott Barr commented at 5:50 AM

    Reformatted the example, sorry about that

    person = Person.find_by_name('bob')
    person.name = 'robert'
    person.changes # => {'name' => ['bob, 'robert']}
    person.sa...
  • Scott Barr
    Scott Barr created the ticket at 5:24 AM

    I've added a previous_changes Map to ActiveRecord::Dirty

    I added this feature so that a Map of changed fields could be retrieved
    after a model had been saved. T...