aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/engines
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-19 14:08:42 -0700
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-19 14:08:42 -0700
commite8966bf9a86afb82c658cedd7e4baffa3a15a856 (patch)
tree8705c27da734888b2ca9713182ac3a837026cb99 /lib/arel/engines
parent518db17ca3dade07fc67b6044b63c826cefb1442 (diff)
downloadrails-e8966bf9a86afb82c658cedd7e4baffa3a15a856.tar.gz
rails-e8966bf9a86afb82c658cedd7e4baffa3a15a856.tar.bz2
rails-e8966bf9a86afb82c658cedd7e4baffa3a15a856.zip
reorganized file structure
Diffstat (limited to 'lib/arel/engines')
-rw-r--r--lib/arel/engines/engine.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/arel/engines/engine.rb b/lib/arel/engines/engine.rb
deleted file mode 100644
index b0b7b4e955..0000000000
--- a/lib/arel/engines/engine.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-module Arel
- # this file is currently just a hack to adapt between activerecord::base which holds the connection specification
- # and active relation. ultimately, this file should be in effect what the connection specification is in active record;
- # that is: a spec of the database (url, password, etc.), a quoting adapter layer, and a connection pool.
- class Engine
- def initialize(ar = nil)
- @ar = ar
- end
-
- def connection
- @ar.connection
- end
-
- def method_missing(method, *args, &block)
- @ar.connection.send(method, *args, &block)
- end
- end
-end \ No newline at end of file