diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-07 16:07:37 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-07 16:07:37 -0700 |
commit | 7dcc76606bc1af67025e1f557e3e2184f96e4cf5 (patch) | |
tree | 205e37c2f917b2ad3c1db3afa4096ece6dfe92e2 /lib/arel | |
parent | 6e05eef9e94dd8f5138bab591d9dbe926498e6ed (diff) | |
download | rails-7dcc76606bc1af67025e1f557e3e2184f96e4cf5.tar.gz rails-7dcc76606bc1af67025e1f557e3e2184f96e4cf5.tar.bz2 rails-7dcc76606bc1af67025e1f557e3e2184f96e4cf5.zip |
adding group to Table
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/table.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/table.rb b/lib/arel/table.rb index 434f19cc6b..28243e645e 100644 --- a/lib/arel/table.rb +++ b/lib/arel/table.rb @@ -41,6 +41,10 @@ module Arel end end + def group *columns + tm.group(*columns) + end + def order *expr tm.order(*expr) end |