diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-10 14:44:42 -0800 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2010-12-16 01:49:27 +0530 |
commit | 0042054ea873a8d25d9bbdc4c7fe0febe1b76042 (patch) | |
tree | 6c11b137813a09f10f1964138d9342e0e94ef88d /activerecord/lib/active_record/relation | |
parent | cea73f82ad65bf8bca707f6f8f3afd86f3e82bdb (diff) | |
download | rails-0042054ea873a8d25d9bbdc4c7fe0febe1b76042.tar.gz rails-0042054ea873a8d25d9bbdc4c7fe0febe1b76042.tar.bz2 rails-0042054ea873a8d25d9bbdc4c7fe0febe1b76042.zip |
remove lasgn since AST is mutated
Diffstat (limited to 'activerecord/lib/active_record/relation')
-rw-r--r-- | activerecord/lib/active_record/relation/query_methods.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb index dce9ac4808..51a39be065 100644 --- a/activerecord/lib/active_record/relation/query_methods.rb +++ b/activerecord/lib/active_record/relation/query_methods.rb @@ -266,7 +266,7 @@ module ActiveRecord # FIXME: refactor this to build an AST join_dependency.join_associations.each do |association| - manager = association.join_to(manager) + association.join_to(manager) end return manager unless join_ast |