lib/action_controller/metal/params_wrapper.rb in actionpack-6.0.0 vs lib/action_controller/metal/params_wrapper.rb in actionpack-6.0.1.rc1
- old
+ new
@@ -113,10 +113,10 @@
self.include = m.attribute_names
end
if m.respond_to?(:nested_attributes_options) && m.nested_attributes_options.keys.any?
self.include += m.nested_attributes_options.keys.map do |key|
- key.to_s.concat("_attributes")
+ (+key.to_s).concat("_attributes")
end
end
self.include
end