ActiveRecord: determine if attribute has changed since save

Hello there,
i need to determine whether an attribute of my model has changed since
the
last time it was saved. how can i do this?

greets


Michael S. [email protected]

www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium

Have a look at a couple of my plugins, acts_as_changed and
acts_as_modified. acts_as_modified has more documentation, so it’s
probably easier to follow.

http://svn.viney.net.nz/things/rails/plugins/acts_as_modified
http://svn.viney.net.nz/things/rails/plugins/acts_as_changed

-Jonathan