Class: SqlcachedClient::ArelWrapper
- Inherits:
-
Object
- Object
- SqlcachedClient::ArelWrapper
- Includes:
- Singleton
- Defined in:
- lib/sqlcached_client/arel.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ArelWrapper
constructor
A new instance of ArelWrapper.
Constructor Details
#initialize ⇒ ArelWrapper
Returns a new instance of ArelWrapper.
49 50 51 52 |
# File 'lib/sqlcached_client/arel.rb', line 49 def initialize ::Arel::Table.engine = ::ActiveRecord::Base.establish_connection( adapter: :nulldb) end |
Class Method Details
.arel_module ⇒ Object
55 56 57 58 |
# File 'lib/sqlcached_client/arel.rb', line 55 def arel_module instance ::Arel end |