aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/table.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-09-07 14:02:23 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-09-07 14:02:23 -0700
commit90881c5841c49a2e56662b6d32e8058dfb1aa8b7 (patch)
tree954a19008f42ccf5407fccb6862d66cb4d6b75d5 /lib/arel/table.rb
parent719eacfc81a94bde89a187356abfa090544bba80 (diff)
downloadrails-90881c5841c49a2e56662b6d32e8058dfb1aa8b7.tar.gz
rails-90881c5841c49a2e56662b6d32e8058dfb1aa8b7.tar.bz2
rails-90881c5841c49a2e56662b6d32e8058dfb1aa8b7.zip
adding joins method to Table
Diffstat (limited to 'lib/arel/table.rb')
-rw-r--r--lib/arel/table.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/table.rb b/lib/arel/table.rb
index faf4d70f64..7811c217a7 100644
--- a/lib/arel/table.rb
+++ b/lib/arel/table.rb
@@ -26,6 +26,10 @@ module Arel
SelectManager.new(@engine).from(self)
end
+ def joins manager
+ nil
+ end
+
def join relation
sm = SelectManager.new(@engine)
case relation