aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations/callbacks_test.rb
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2014-12-14 20:16:38 -0800
committerclaudiob <claudiob@gmail.com>2014-12-14 21:20:49 -0800
commitb7bd7ffa6398570de9631100657161f1d78fb8ce (patch)
tree25bb197c4e58b3cfaaf1719a183e995b89f5a053 /activemodel/test/cases/validations/callbacks_test.rb
parent9a6f20e8f0c8058e9311853c37244934b5fc2263 (diff)
downloadrails-b7bd7ffa6398570de9631100657161f1d78fb8ce.tar.gz
rails-b7bd7ffa6398570de9631100657161f1d78fb8ce.tar.bz2
rails-b7bd7ffa6398570de9631100657161f1d78fb8ce.zip
Add AM test: after/around callback returning false
This stems from https://github.com/rails/rails/pull/17227#discussion_r21641358 It's simply a clarification of the current behavior by which if an `after_` or `around_` ActiveModel callback returns +false+, then the callback chain **is not halted**. The callback chain in ActiveModel is only halted when a `before_` callback returns `false`.
Diffstat (limited to 'activemodel/test/cases/validations/callbacks_test.rb')
0 files changed, 0 insertions, 0 deletions