Below are revisions for this snippet.

Overriding ActiveRecord's find method





Syndication

Revision Revison 1
From time to time you may have reasons to override the default find method that ActiveRecord provides. In this example, we'll store a side-copy of the record attributes so that we have some basis for discovering changes to the data.

note: this will not override dynamic finders such as find_by_id