diff options
author | David Stosik <david.stosik+git-noreply@gmail.com> | 2018-03-20 18:08:11 +0000 |
---|---|---|
committer | David Stosik <david.stosik+git-noreply@gmail.com> | 2018-03-20 18:08:11 +0000 |
commit | 864e500817e7bcda4753f001ba862f7adbdb1c15 (patch) | |
tree | 5efd83cbf9542a99b42c46ae84dc4ea8ee74a20c /activerecord/lib | |
parent | d3fd4e4ed9bae3775969c5c913b15bbd927e9ad9 (diff) | |
download | rails-864e500817e7bcda4753f001ba862f7adbdb1c15.tar.gz rails-864e500817e7bcda4753f001ba862f7adbdb1c15.tar.bz2 rails-864e500817e7bcda4753f001ba862f7adbdb1c15.zip |
Document config.active_record.fk_ignore_pattern
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/core.rb | 4 |
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 |