Class: ActiveType::NoTable::DummyConnection
- Inherits:
-
ActiveRecord::ConnectionAdapters::AbstractAdapter
- Object
- ActiveRecord::ConnectionAdapters::AbstractAdapter
- ActiveType::NoTable::DummyConnection
- Defined in:
- lib/active_type/no_table.rb
Instance Attribute Summary collapse
-
#schema_cache ⇒ Object
readonly
Returns the value of attribute schema_cache.
Instance Method Summary collapse
-
#initialize ⇒ DummyConnection
constructor
A new instance of DummyConnection.
Constructor Details
#initialize ⇒ DummyConnection
Returns a new instance of DummyConnection.
118 119 120 121 |
# File 'lib/active_type/no_table.rb', line 118 def initialize(*) super @schema_cache = DummySchemaCache.new end |
Instance Attribute Details
#schema_cache ⇒ Object (readonly)
Returns the value of attribute schema_cache.
116 117 118 |
# File 'lib/active_type/no_table.rb', line 116 def schema_cache @schema_cache end |