diff options
author | Akira Matsuda <ronnie@dio.jp> | 2017-01-13 16:05:45 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2017-01-13 16:07:34 +0900 |
commit | b1a2aee3e190d65156474bca223edffaedb740a5 (patch) | |
tree | 1077147c9b05bbf1c62c2170d16355cff2775428 /actionpack | |
parent | 9360b6be63b7a452535699bcf6ae853df7f5eea7 (diff) | |
download | rails-b1a2aee3e190d65156474bca223edffaedb740a5.tar.gz rails-b1a2aee3e190d65156474bca223edffaedb740a5.tar.bz2 rails-b1a2aee3e190d65156474bca223edffaedb740a5.zip |
AC::ParamsWrapper::Options needs anonymous superclass
it has some methods that override the accessors and calls the original accessors via `super`
this partially reverts 9360b6be63b7a452535699bcf6ae853df7f5eea7
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/params_wrapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/params_wrapper.rb b/actionpack/lib/action_controller/metal/params_wrapper.rb index a08f50143f..7fc898f034 100644 --- a/actionpack/lib/action_controller/metal/params_wrapper.rb +++ b/actionpack/lib/action_controller/metal/params_wrapper.rb @@ -73,7 +73,7 @@ module ActionController require "mutex_m" - Options = Struct.new(:name, :format, :include, :exclude, :klass, :model) do # :nodoc: + class Options < Struct.new(:name, :format, :include, :exclude, :klass, :model) # :nodoc: include Mutex_m def self.from_hash(hash) |