1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix "warning: assigned but unused variable - name"

This commit is contained in:
yuuji.yaginuma 2017-11-10 14:04:51 +09:00
parent 7d862ffb62
commit 5ed618e192

View file

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