diff options
author | Ernie Miller <ernie@erniemiller.org> | 2012-05-19 11:10:47 -0400 |
---|---|---|
committer | Ernie Miller <ernie@erniemiller.org> | 2012-05-19 11:10:47 -0400 |
commit | c78227d9b219933f54cecefb99c72bb231fbb8f2 (patch) | |
tree | 74da54535278ddd8aa2134230e51a973c90b8f11 /lib/arel/nodes | |
parent | 19c6eeb7b08917622e5e4e01175466dd092592d7 (diff) | |
download | rails-c78227d9b219933f54cecefb99c72bb231fbb8f2.tar.gz rails-c78227d9b219933f54cecefb99c72bb231fbb8f2.tar.bz2 rails-c78227d9b219933f54cecefb99c72bb231fbb8f2.zip |
Include Predications in Grouping
Also, removed unused ordering.rb file, since it is identical
to the one being created in unary.rb already, and isn't
required anywhere.
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/grouping.rb | 7 | ||||
-rw-r--r-- | lib/arel/nodes/ordering.rb | 6 | ||||
-rw-r--r-- | lib/arel/nodes/unary.rb | 1 |
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/arel/nodes/grouping.rb b/lib/arel/nodes/grouping.rb new file mode 100644 index 0000000000..e7f4bd9cd5 --- /dev/null +++ b/lib/arel/nodes/grouping.rb @@ -0,0 +1,7 @@ +module Arel + module Nodes + class Grouping < Unary + include Arel::Predications + end + end +end diff --git a/lib/arel/nodes/ordering.rb b/lib/arel/nodes/ordering.rb deleted file mode 100644 index efb4d18ae4..0000000000 --- a/lib/arel/nodes/ordering.rb +++ /dev/null @@ -1,6 +0,0 @@ -module Arel - module Nodes - class Ordering < Unary - end - end -end diff --git a/lib/arel/nodes/unary.rb b/lib/arel/nodes/unary.rb index 4688fff623..7828cceae5 100644 --- a/lib/arel/nodes/unary.rb +++ b/lib/arel/nodes/unary.rb @@ -12,7 +12,6 @@ module Arel %w{ Bin Group - Grouping Having Limit Not |