aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorDavid Stosik <david.stosik+git-noreply@gmail.com>2018-03-20 18:08:11 +0000
committerDavid Stosik <david.stosik+git-noreply@gmail.com>2018-03-20 18:08:11 +0000
commit864e500817e7bcda4753f001ba862f7adbdb1c15 (patch)
tree5efd83cbf9542a99b42c46ae84dc4ea8ee74a20c /activerecord
parentd3fd4e4ed9bae3775969c5c913b15bbd927e9ad9 (diff)
downloadrails-864e500817e7bcda4753f001ba862f7adbdb1c15.tar.gz
rails-864e500817e7bcda4753f001ba862f7adbdb1c15.tar.bz2
rails-864e500817e7bcda4753f001ba862f7adbdb1c15.zip
Document config.active_record.fk_ignore_pattern
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/core.rb4
1 files changed, 4 insertions, 0 deletions
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