diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-06-21 23:15:03 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-06-21 23:15:03 +0000 |
commit | b91e6aa68dcb657dd395bfde9389d2055888477a (patch) | |
tree | 9ffffbd030f8e5613ced6a13d9b0a141c00f9ce6 | |
parent | d399ee93329a72584009239f0fc010701361ba24 (diff) | |
download | rails-b91e6aa68dcb657dd395bfde9389d2055888477a.tar.gz rails-b91e6aa68dcb657dd395bfde9389d2055888477a.tar.bz2 rails-b91e6aa68dcb657dd395bfde9389d2055888477a.zip |
Get there
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4484 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-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 cef954ea39..eae243ddc7 100755 --- a/activerecord/lib/active_record/callbacks.rb +++ b/activerecord/lib/active_record/callbacks.rb @@ -286,7 +286,7 @@ module ActiveRecord if new_record? then result = callback(:before_validation_on_create) else result = callback(:before_validation_on_update) end return false if result == false - result = valid_without_callbacks + result = valid_without_callbacks? callback(:after_validation) if new_record? then callback(:after_validation_on_create) else callback(:after_validation_on_update) end |