From b466e5fad5660a9f61d523a2350dddd2c9620363 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Tue, 5 Jan 2016 13:29:09 +0530 Subject: Autoload ReferenceDefinition class in abstract adapter so that it can be used by #add_reference in schema_statements - Fixes #22916. --- activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/lib') 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 -- cgit v1.2.3