class ActiveSupport::CurrentAttributes
def method_added(name)
def method_added(name) super return if name == :initialize return unless public_method_defined?(name) return if singleton_class.method_defined?(name) || singleton_class.private_method_defined?(name) Delegation.generate(singleton_class, [name], to: :instance, as: self, nilable: false) end