mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
SchemaMigration should be loaded lazily.
This commit is contained in:
parent
8d01c61129
commit
5cc9c7e369
3 changed files with 1 additions and 2 deletions
|
@ -80,6 +80,7 @@ module ActiveRecord
|
||||||
autoload :Sanitization
|
autoload :Sanitization
|
||||||
autoload :Schema
|
autoload :Schema
|
||||||
autoload :SchemaDumper
|
autoload :SchemaDumper
|
||||||
|
autoload :SchemaMigration
|
||||||
autoload :Scoping
|
autoload :Scoping
|
||||||
autoload :Serialization
|
autoload :Serialization
|
||||||
autoload :SessionStore
|
autoload :SessionStore
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
require 'active_support/deprecation/reporting'
|
require 'active_support/deprecation/reporting'
|
||||||
require 'active_record/schema_migration'
|
|
||||||
require 'active_record/migration/join_table'
|
require 'active_record/migration/join_table'
|
||||||
|
|
||||||
module ActiveRecord
|
module ActiveRecord
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
require "active_support/core_ext/module/delegation"
|
require "active_support/core_ext/module/delegation"
|
||||||
require "active_support/core_ext/class/attribute_accessors"
|
require "active_support/core_ext/class/attribute_accessors"
|
||||||
require 'active_support/deprecation'
|
require 'active_support/deprecation'
|
||||||
require 'active_record/schema_migration'
|
|
||||||
require 'set'
|
require 'set'
|
||||||
|
|
||||||
module ActiveRecord
|
module ActiveRecord
|
||||||
|
|
Loading…
Reference in a new issue