diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-03-16 17:35:11 -0700 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-03-16 17:35:11 -0700 |
commit | 2d3681bb3c9ed8136fc46857828b74ae39b6d990 (patch) | |
tree | 3d1cb0091a093197499247ddffa8d7515e1ebec6 /lib/active_relation/predicates.rb | |
parent | 7bd0d634867ccbdf4537ba3d62b865b1cb7beebf (diff) | |
download | rails-2d3681bb3c9ed8136fc46857828b74ae39b6d990.tar.gz rails-2d3681bb3c9ed8136fc46857828b74ae39b6d990.tar.bz2 rails-2d3681bb3c9ed8136fc46857828b74ae39b6d990.zip |
nested orderings
Diffstat (limited to 'lib/active_relation/predicates.rb')
-rw-r--r-- | lib/active_relation/predicates.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/active_relation/predicates.rb b/lib/active_relation/predicates.rb index f68ec991c3..6fcef3cfd6 100644 --- a/lib/active_relation/predicates.rb +++ b/lib/active_relation/predicates.rb @@ -40,35 +40,30 @@ module ActiveRelation (operand1 == other.operand2 and operand2 == other.operand1)) end - protected def predicate_sql '=' end end class GreaterThanOrEqualTo < Binary - protected def predicate_sql '>=' end end class GreaterThan < Binary - protected def predicate_sql '>' end end class LessThanOrEqualTo < Binary - protected def predicate_sql '<=' end end class LessThan < Binary - protected def predicate_sql '<' end @@ -79,7 +74,6 @@ module ActiveRelation end class In < Binary - protected delegate :predicate_sql, :to => :operand2 end end
\ No newline at end of file |