Info about getting to old / new values on activerecord objects:
http://ryandaigle.com/articles/2008/3/31/what-s-new-in-edge-rails-dirty-objects
This can be useful if validation varies based upon the prior state of the the object, etc.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment