Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

preserve chained method punctuation

git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit d399ee93329a72584009239f0fc010701361ba24 1 parent 38d1a4a
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/callbacks.rb
2  activerecord/lib/active_record/callbacks.rb
@@ -281,7 +281,7 @@ def before_validation_on_update() end
# existing objects that have a record.
def after_validation_on_update() end
- def valid_with_callbacks #:nodoc:
+ def valid_with_callbacks? #:nodoc:
return false if callback(:before_validation) == false
if new_record? then result = callback(:before_validation_on_create) else result = callback(:before_validation_on_update) end
return false if result == false
Please sign in to comment.
Something went wrong with that request. Please try again.