Displaying 1 result from an estimated 1 matches for "username_changed".
2011 Jan 24
2
Seeing what has changed in ActiveRecord
I have a callback (before_save) that I want to trigger only when
certain fields within a record have changed. For example given a user
record with ''username'', ''password'' and ''date_of_birth'' I would like
the callback to do something only when the ''username'' or ''password''
changes or when the