From e8966bf9a86afb82c658cedd7e4baffa3a15a856 Mon Sep 17 00:00:00 2001 From: Nick Kallen Date: Mon, 19 May 2008 14:08:42 -0700 Subject: reorganized file structure --- lib/arel/engines/engine.rb | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 lib/arel/engines/engine.rb (limited to 'lib/arel/engines') 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 -- cgit v1.2.3