Permalink
Browse files

Get there

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4484 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent d399ee9 commit b91e6aa68dcb657dd395bfde9389d2055888477a @jeremy jeremy committed Jun 21, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/callbacks.rb
@@ -286,7 +286,7 @@ def valid_with_callbacks? #:nodoc:
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

0 comments on commit b91e6aa

Please sign in to comment.