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