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:
parent
7d862ffb62
commit
5ed618e192
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ module ActiveModel
|
||||||
attr_name.to_s
|
attr_name.to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
@attributes.write_from_user(attr_name.to_s, value)
|
@attributes.write_from_user(name, value)
|
||||||
value
|
value
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue