diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-01-13 18:31:35 -0800 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-01-13 18:31:35 -0800 |
commit | bc4f6b8a29fc96c05efe0304ce7fad075818d2a2 (patch) | |
tree | 75f1b67bddf5ce5e247f57c5f9d8f8bde05c1f51 /lib/active_relation/sql_builder.rb | |
parent | 2e63ac91302e2df397a286fdaf9cea51635071a6 (diff) | |
download | rails-bc4f6b8a29fc96c05efe0304ce7fad075818d2a2.tar.gz rails-bc4f6b8a29fc96c05efe0304ce7fad075818d2a2.tar.bz2 rails-bc4f6b8a29fc96c05efe0304ce7fad075818d2a2.zip |
experimenting with strategy pattern rather than conditional; not as terse, nor transparent, but i still feel it's better
Diffstat (limited to 'lib/active_relation/sql_builder.rb')
-rw-r--r-- | lib/active_relation/sql_builder.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/active_relation/sql_builder.rb b/lib/active_relation/sql_builder.rb deleted file mode 100644 index 07a4ebabb7..0000000000 --- a/lib/active_relation/sql_builder.rb +++ /dev/null @@ -1,9 +0,0 @@ -module ActiveRelation - module SqlBuilder - def connection - ActiveRecord::Base.connection - end - - delegate :quote_table_name, :quote_column_name, :quote, :to => :connection - end -end
\ No newline at end of file |