aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activemodel/lib/active_model/attributes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/attributes.rb b/activemodel/lib/active_model/attributes.rb
index 13cad87875..6f84748804 100644
--- a/activemodel/lib/active_model/attributes.rb
+++ b/activemodel/lib/active_model/attributes.rb
@@ -77,7 +77,7 @@ module ActiveModel
attr_name.to_s
end
- @attributes.write_from_user(attr_name.to_s, value)
+ @attributes.write_from_user(name, value)
value
end