#109 Tracking Attribute Changes
Rails 2.1 keeps track of the changes you make to a model's attributes. It also allows you to see what the previous value was. But watch out for the gotcha! See this episode for details.
- mp4Full Size H.264 Video (8.73 MB)
- m4vSmaller H.264 Video (6.64 MB)
- webmFull Size VP8 Video (16.6 MB)
- ogvFull Size Theora Video (9.96 MB)
Update: Partial updates are no longer enabled by default in Rails 2.1 as you can see in this commit Now you can set them in your environment config if you want.
ActiveRecord::Base.partial_updates = true
# change tracking methods