diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-05-09 11:59:39 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-05-10 10:13:21 -0700 |
commit | f5478d9263e9aa036a09199be7a5fe0644e02031 (patch) | |
tree | 3277c4c0bea054e2367b66ff7ccea4fcda052756 /activesupport/lib | |
parent | 23122ab2d4e239d35a154d5ec28c2afefdd012de (diff) | |
download | rails-f5478d9263e9aa036a09199be7a5fe0644e02031.tar.gz rails-f5478d9263e9aa036a09199be7a5fe0644e02031.tar.bz2 rails-f5478d9263e9aa036a09199be7a5fe0644e02031.zip |
make_lambda is never called with an Array
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/callbacks.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index 05204d34e4..d869770489 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -254,8 +254,6 @@ module ActiveSupport # on the object. def make_lambda(filter) case filter - when Array - filter.map {|f| _compile_options(f)} when Symbol lambda { |target, value, &blk| target.send filter, &blk |