Permalink
Browse files

Return value is irrelevant here as the RHS of the assignment is alway…

…s returned by methods ending in '='
  • Loading branch information...
jonleighton authored and tenderlove committed Jan 7, 2011
1 parent 15adcc3 commit 665880c0809b563d3afaeadd073f5d0b6289a42e
Showing with 0 additions and 1 deletion.
  1. +0 −1 activerecord/lib/active_record/associations.rb
@@ -1493,7 +1493,6 @@ def association_accessor_methods(reflection, association_proxy_class)
end
association.replace(record)
- association.target.nil? ? nil : association
end
redefine_method("set_#{reflection.name}_target") do |target|

0 comments on commit 665880c

Please sign in to comment.