Created
January 28, 2009 01:05
-
-
Save zmoazeni/53753 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo < ActiveRecord::Base | |
belongs_to :user | |
private | |
## | |
# Override callbacks to audit users | |
## | |
def audit_create_callback | |
audit_create(user) | |
end | |
def audit_update_callback | |
audit_update(user) | |
end | |
def audit_destroy_callback | |
audit_destroy(user) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment