diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-13 15:35:49 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-13 15:35:49 +0000 |
commit | fba2421c79a74bf91743080ebe2b32866b157aa4 (patch) | |
tree | 03af5e56580585d373bdba5aa79420e4ad187486 /activerecord | |
parent | 1d4e86b0b9db095ef54aad7bea3110fb9ccd75ad (diff) | |
download | rails-fba2421c79a74bf91743080ebe2b32866b157aa4.tar.gz rails-fba2421c79a74bf91743080ebe2b32866b157aa4.tar.bz2 rails-fba2421c79a74bf91743080ebe2b32866b157aa4.zip |
Fixed example in docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@893 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rwxr-xr-x | activerecord/lib/active_record/callbacks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/callbacks.rb b/activerecord/lib/active_record/callbacks.rb index 1346000d00..2e0bfd3e03 100755 --- a/activerecord/lib/active_record/callbacks.rb +++ b/activerecord/lib/active_record/callbacks.rb @@ -117,7 +117,7 @@ module ActiveRecord # record.credit_card_number = decrypt(record.credit_card_number) # end # - # alias_method :after_initialize, :after_save + # alias_method :after_find, :after_save # # private # def encrypt(value) |