mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
AC::ParamsWrapper::Options needs anonymous superclass
it has some methods that override the accessors and calls the original accessors via `super`
this partially reverts 9360b6be63
This commit is contained in:
parent
9360b6be63
commit
b1a2aee3e1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue