lib/active_model/attribute_methods.rb in activemodel-7.0.1 vs lib/active_model/attribute_methods.rb in activemodel-7.0.2
- old
+ new
@@ -317,10 +317,10 @@
generate_method = "define_method_#{matcher.target}"
if respond_to?(generate_method, true)
send(generate_method, attr_name.to_s, owner: owner)
else
- define_proxy_call(owner, method_name, matcher.target, matcher.parameters, attr_name.to_s, namespace: :active_model)
+ define_proxy_call(owner, method_name, matcher.target, matcher.parameters, attr_name.to_s, namespace: :active_model_proxy)
end
end
end
attribute_method_matchers_cache.clear
end