diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-04-11 14:40:33 -0700 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-04-11 14:40:33 -0700 |
commit | 89eff9708d9519f8a2724427d9ed9a3bcbc6d125 (patch) | |
tree | d3351eddbdd09c7eaa37ec878f54297285f86246 /lib/active_relation/predicates.rb | |
parent | 8887dcce12cd80f673e28537800e7657be9969d8 (diff) | |
download | rails-89eff9708d9519f8a2724427d9ed9a3bcbc6d125.tar.gz rails-89eff9708d9519f8a2724427d9ed9a3bcbc6d125.tar.bz2 rails-89eff9708d9519f8a2724427d9ed9a3bcbc6d125.zip |
removed binding for attributes and predicates
Diffstat (limited to 'lib/active_relation/predicates.rb')
-rw-r--r-- | lib/active_relation/predicates.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_relation/predicates.rb b/lib/active_relation/predicates.rb index e17a9f82fe..dc4610b052 100644 --- a/lib/active_relation/predicates.rb +++ b/lib/active_relation/predicates.rb @@ -25,7 +25,7 @@ module ActiveRelation end def to_sql(formatter = nil) - "#{operand2.format(operand1)} #{predicate_sql} #{operand1.format(operand2)}" + "#{operand1.to_sql} #{predicate_sql} #{operand1.format(operand2)}" end def descend |