This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README | ||
| |
init.rb | ||
| |
lib/ | ||
| |
previous_changes.gemspec |
README
Very simple Rails plugin that adds the method 'previous_changes' to ActiveRecord objects that can be called after saving a model object to fetch what the method 'changes' would have returned just before the save occurred (a hash from attribute name to a pair of values - the old attribute value and the new attribute value). Installation ------------ $ gem sources -a http://gems.github.com (you only have to do this once) $ sudo gem install tomriley-previous_changes Then add a dependency to your rails environment.rb: config.gem 'tomriley-previous_changes', :lib => 'previous_changes', :version => '0.0.1'








