diff options
author | Emilio Tagua <miloops@gmail.com> | 2009-08-19 16:08:54 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2009-08-19 16:08:54 -0300 |
commit | 3e1ef198e086deb4f212523ce2338a027f0e4155 (patch) | |
tree | 9f6311d7fcc0a00b11a93b3791124d5452007364 /activerecord/lib/active_record/base.rb | |
parent | b3427286771bb476c0c4a58488033bd671740332 (diff) | |
download | rails-3e1ef198e086deb4f212523ce2338a027f0e4155.tar.gz rails-3e1ef198e086deb4f212523ce2338a027f0e4155.tar.bz2 rails-3e1ef198e086deb4f212523ce2338a027f0e4155.zip |
Remove useless InnerJoinDependency, inner joins are performed through
Arel::InnerJoin.
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 1698f33da0..dc439ff92e 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -1812,7 +1812,7 @@ module ActiveRecord #:nodoc: end def build_association_joins(joins) - join_dependency = ActiveRecord::Associations::ClassMethods::InnerJoinDependency.new(self, joins, nil) + join_dependency = ActiveRecord::Associations::ClassMethods::JoinDependency.new(self, joins, nil) relation = arel_table.relation join_dependency.join_associations.map { |association| if association.relation.is_a?(Array) |