diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-01-06 03:42:32 -0200 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2016-01-06 03:42:32 -0200 |
commit | c6bdaf1282e44c2aca8611b900bd1a7f55cd3d12 (patch) | |
tree | 036b0118c3e81496d146818aebd0e230cf59eda5 /activerecord/lib | |
parent | 059820c09afaf18e2d29da61db0e0a3215989b89 (diff) | |
parent | b466e5fad5660a9f61d523a2350dddd2c9620363 (diff) | |
download | rails-c6bdaf1282e44c2aca8611b900bd1a7f55cd3d12.tar.gz rails-c6bdaf1282e44c2aca8611b900bd1a7f55cd3d12.tar.bz2 rails-c6bdaf1282e44c2aca8611b900bd1a7f55cd3d12.zip |
Merge pull request #22921 from prathamesh-sonpatki/fix-add-reference
Autoload ReferenceDefinition class in abstract adapter so that it can be used by #add_reference in schema_statements
Diffstat (limited to 'activerecord/lib')
-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 |