diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-07 14:02:23 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-07 14:02:23 -0700 |
commit | 90881c5841c49a2e56662b6d32e8058dfb1aa8b7 (patch) | |
tree | 954a19008f42ccf5407fccb6862d66cb4d6b75d5 /lib/arel | |
parent | 719eacfc81a94bde89a187356abfa090544bba80 (diff) | |
download | rails-90881c5841c49a2e56662b6d32e8058dfb1aa8b7.tar.gz rails-90881c5841c49a2e56662b6d32e8058dfb1aa8b7.tar.bz2 rails-90881c5841c49a2e56662b6d32e8058dfb1aa8b7.zip |
adding joins method 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 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 |