diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-12 14:24:21 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-12 14:24:21 -0700 |
commit | 1036749e394e5f7f039e75cdec7675f9ca5047b0 (patch) | |
tree | 17587fb28a10d798bed16522d335afa434489fbf /lib/arel | |
parent | 25083947e3f3ca8cf19380366bd3e186261b17f3 (diff) | |
download | rails-1036749e394e5f7f039e75cdec7675f9ca5047b0.tar.gz rails-1036749e394e5f7f039e75cdec7675f9ca5047b0.tar.bz2 rails-1036749e394e5f7f039e75cdec7675f9ca5047b0.zip |
starting a spec for the table
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/table.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/table.rb b/lib/arel/table.rb index e4056074ae..a4ae9bd18d 100644 --- a/lib/arel/table.rb +++ b/lib/arel/table.rb @@ -3,7 +3,7 @@ module Arel @engine = nil class << self; attr_accessor :engine; end - def initialize table_name, engine + def initialize table_name, engine = Table.engine @table_name = table_name @engine = engine end |