Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Only remember that an association was loaded if it was found

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 44ac6046c1e7b88e993293fa68ec015d52a7b26c 1 parent 8b82c50
@dhh dhh authored
View
2  activerecord/lib/active_record/associations/association_proxy.rb
@@ -58,7 +58,7 @@ def load_target
reset
end
end
- @loaded = true
+ @loaded = true if @target
@target
end
Please sign in to comment.
Something went wrong with that request. Please try again.