Permalink
Browse files

SchemaMigration should be loaded lazily.

  • Loading branch information...
1 parent 8d01c61 commit 5cc9c7e369b13556d15a91a19a027b422a352709 @kennyj kennyj committed May 28, 2012
@@ -80,6 +80,7 @@ module ActiveRecord
autoload :Sanitization
autoload :Schema
autoload :SchemaDumper
+ autoload :SchemaMigration
autoload :Scoping
autoload :Serialization
autoload :SessionStore
@@ -1,5 +1,4 @@
require 'active_support/deprecation/reporting'
-require 'active_record/schema_migration'
require 'active_record/migration/join_table'
module ActiveRecord
@@ -1,7 +1,6 @@
require "active_support/core_ext/module/delegation"
require "active_support/core_ext/class/attribute_accessors"
require 'active_support/deprecation'
-require 'active_record/schema_migration'
require 'set'
module ActiveRecord

0 comments on commit 5cc9c7e

Please sign in to comment.