Module: MemoryTestFix::SchemaFileLoader Private
- Defined in:
- lib/memory_test_fix/schema_file_loader.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Load Rails schema file into in-memory database.
Class Method Summary collapse
-
.load_schema ⇒ Object
private
Load the Rails schema file.
Class Method Details
.load_schema ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Load the Rails schema file.
6 7 8 9 |
# File 'lib/memory_test_fix/schema_file_loader.rb', line 6 def self.load_schema # TODO: Use tooling provided by rails once support for Rails 3 is dropped. load "#{Rails.root}/db/schema.rb" end |