Module: ActiveRecord
- Defined in:
- lib/active_record/attributes_builder_without_table.rb,
lib/active_record/base_without_table.rb,
lib/active_record/connection_adapters/null_adapter.rb,
lib/active_record/connection_adapters/null_schema_cache.rb
Overview
When run against a real database backend, ordinarily the SchemaCache would open a connection to the DB and attempt to retrieve schema information from it.
Here, we declare that these ActiveRecord classes do not have any database-backed schema or column information. The structure of an ActiveRecord::BaseWithoutTable is purely an in-memory construct and is defined through the use of the ‘column` class methods.
Defined Under Namespace
Modules: ConnectionAdapters Classes: AttributesBuilderWithoutTable, BaseWithoutTable