1
0
Fork 0
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:
Akira Matsuda 2017-01-13 16:05:45 +09:00
parent 9360b6be63
commit b1a2aee3e1

View file

@ -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)