diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-01-05 13:29:09 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-01-05 13:29:09 +0530 |
commit | b466e5fad5660a9f61d523a2350dddd2c9620363 (patch) | |
tree | 57b788936dce1caa93b6cc5f657b6043a68a5b4a /activerecord | |
parent | 35dd9e9f2a10d9d2f46d1c1cdd1df73f7d343d6e (diff) | |
download | rails-b466e5fad5660a9f61d523a2350dddd2c9620363.tar.gz rails-b466e5fad5660a9f61d523a2350dddd2c9620363.tar.bz2 rails-b466e5fad5660a9f61d523a2350dddd2c9620363.zip |
Autoload ReferenceDefinition class in abstract adapter so that it can be used by #add_reference in schema_statements
- Fixes #22916.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index 9cbc973f2e..dce34a208f 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -23,6 +23,7 @@ module ActiveRecord autoload :TableDefinition autoload :Table autoload :AlterTable + autoload :ReferenceDefinition end autoload_at 'active_record/connection_adapters/abstract/connection_pool' do |