提交 9b45e09b 编写于 作者: D David Heinemeier Hansson

Fixed bug with reloading associations

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 922f817a
......@@ -462,7 +462,7 @@ def require_association(file_name)
# Resets the list of dependencies loaded (typically to be called by the end of a request), so when require_association is
# called for that dependency it'll be loaded anew.
def reset_associations_loaded
associations_loaded = []
self.associations_loaded = []
end
private
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册