diff options
author | claudiob <claudiob@gmail.com> | 2014-12-14 20:16:38 -0800 |
---|---|---|
committer | claudiob <claudiob@gmail.com> | 2014-12-14 21:20:49 -0800 |
commit | b7bd7ffa6398570de9631100657161f1d78fb8ce (patch) | |
tree | 25bb197c4e58b3cfaaf1719a183e995b89f5a053 /railties/lib/rails/templates | |
parent | 9a6f20e8f0c8058e9311853c37244934b5fc2263 (diff) | |
download | rails-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 'railties/lib/rails/templates')
0 files changed, 0 insertions, 0 deletions