Skip to content

Commit

Permalink
Removed useless OR.
Browse files Browse the repository at this point in the history
  • Loading branch information
miloops committed Aug 7, 2009
1 parent 6b5fab9 commit d469ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/associations.rb
Expand Up @@ -2184,7 +2184,7 @@ def association_join
]
else
""
end || ''
end
join << %(AND %s) % [
klass.send(:type_condition, aliased_table_name)] unless klass.descends_from_active_record?

Expand Down

0 comments on commit d469ad8

Please sign in to comment.