aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/engine.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/engine.rb')
-rw-r--r--lib/arel/engine.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/arel/engine.rb b/lib/arel/engine.rb
deleted file mode 100644
index 5a5ef06878..0000000000
--- a/lib/arel/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