diff options
Diffstat (limited to 'lib/arel/engines/sql/engine.rb')
-rw-r--r-- | lib/arel/engines/sql/engine.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/engines/sql/engine.rb b/lib/arel/engines/sql/engine.rb index 7d2926040c..eb9dd85602 100644 --- a/lib/arel/engines/sql/engine.rb +++ b/lib/arel/engines/sql/engine.rb @@ -9,6 +9,10 @@ module Arel @ar.connection end + def adapter_name + @adapter_name ||= connection.adapter_name + end + def method_missing(method, *args, &block) @ar.connection.send(method, *args, &block) end |