1
0
Fork 0
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:
Jon Leighton 2011-01-07 18:27:33 +00:00 committed by Aaron Patterson
parent 15adcc3927
commit 665880c080

View file

@ -1493,7 +1493,6 @@ module ActiveRecord
end
association.replace(record)
association.target.nil? ? nil : association
end
redefine_method("set_#{reflection.name}_target") do |target|