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
1 changed files with 0 additions and 1 deletions

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|