Anybody know of a built-in method, filter, or plugin that will check to see if any of the values in an object have been changed since .new or .find begat it? I’m looking for something that will let me easily do a before_save filter that looks like…
self.last_modified_by = @visitor.name
I don’t want to change the last_modified_by value just because a visitor opens an edit page, even if they click the submit button. I only want to change it if the visitor has actually changed the original information.
Thanks in advance for any thoughts on how best to accomplish this.