mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Return value is irrelevant here as the RHS of the assignment is always returned by methods ending in '='
This commit is contained in:
committed by
Aaron Patterson
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|
|
||||
|
||||
Reference in New Issue
Block a user