aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-11-30 09:52:52 +0100
committerJosé Valim <jose.valim@gmail.com>2011-11-30 09:53:09 +0100
commit38ab982cfff98570b5f12933cff489364845789c (patch)
tree20c563f1e1447234a1dfdb2e385c1ae06bd328ed /activemodel/lib
parenta6ee246e5cea1c1a71631c6bef3740a4bf4eb250 (diff)
downloadrails-38ab982cfff98570b5f12933cff489364845789c.tar.gz
rails-38ab982cfff98570b5f12933cff489364845789c.tar.bz2
rails-38ab982cfff98570b5f12933cff489364845789c.zip
Log 'Filter chain halted as CALLBACKNAME rendered or redirected' every time a before callback halts.
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/callbacks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/callbacks.rb b/activemodel/lib/active_model/callbacks.rb
index 0621a175bd..15103f1185 100644
--- a/activemodel/lib/active_model/callbacks.rb
+++ b/activemodel/lib/active_model/callbacks.rb
@@ -93,7 +93,7 @@ module ActiveModel
:only => [:before, :around, :after]
}.merge(options)
- types = Array.wrap(options.delete(:only))
+ types = Array.wrap(options.delete(:only))
callbacks.each do |callback|
define_callbacks(callback, options)