Acts As Modified
This plugin lets you track attribute changes to an ActiveRecord object.
Usage
1 class Person < ActiveRecord::Base 2 acts_as_modified 3 end 4 5 p = Person.find(1) 6 p.name # => "Jonathan" 7 p.modified? # => false 8 p.name = "David" 9 p.modified? # => true 10 p.name_modified? # => true
See ActiveRecord::Acts::Modified::InstanceMethods for details of the all the methods that are available.
Help
Feel free to email with any problems, suggestions, bugs etc…
jonathan dot viney @ gmail . com
christopher dot k dot hall @ gmail . com
Credit
Based on the original acts_as_modified plugin by Chris Hall.
- Repository Path: http://svn.viney.net.nz/things/rails/plugins/acts_as_modified/