mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Return value is irrelevant here as the RHS of the assignment is always returned by methods ending in '='
This commit is contained in:
parent
15adcc3927
commit
665880c080
1 changed files with 0 additions and 1 deletions
|
@ -1493,7 +1493,6 @@ module ActiveRecord
|
|||
end
|
||||
|
||||
association.replace(record)
|
||||
association.target.nil? ? nil : association
|
||||
end
|
||||
|
||||
redefine_method("set_#{reflection.name}_target") do |target|
|
||||
|
|
Loading…
Reference in a new issue