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.
122 123 124 125 |
# File 'lib/active_type/no_table.rb', line 122 def initialize(*) super @schema_cache = DummySchemaCache.new end |
Instance Attribute Details
#schema_cache ⇒ Object (readonly)
Returns the value of attribute schema_cache.
120 121 122 |
# File 'lib/active_type/no_table.rb', line 120 def schema_cache @schema_cache end |