From 864e500817e7bcda4753f001ba862f7adbdb1c15 Mon Sep 17 00:00:00 2001 From: David Stosik Date: Tue, 20 Mar 2018 18:08:11 +0000 Subject: Document config.active_record.fk_ignore_pattern --- activerecord/lib/active_record/core.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb index cb0be9787f..4e63d1a273 100644 --- a/activerecord/lib/active_record/core.rb +++ b/activerecord/lib/active_record/core.rb @@ -125,6 +125,10 @@ module ActiveRecord mattr_accessor :belongs_to_required_by_default, instance_accessor: false + ## + # :singleton-method: + # Specify a custom regular expression matching foreign keys which name + # should not be dumped to db/schema.rb. mattr_accessor :fk_ignore_pattern, instance_accessor: false class_attribute :default_connection_handler, instance_writer: false -- cgit v1.2.3