diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-09-15 14:13:04 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-10-23 12:50:47 -0400 |
commit | e1066f450d1a99c9a0b4d786b202e2ca82a4c3b3 (patch) | |
tree | e5e53d993851d341976cb9799f12e4dc4a63dee1 /activerecord/lib | |
parent | 9c6ee1bed0292fc32c23dc1c68951ae64fc510be (diff) | |
download | rails-e1066f450d1a99c9a0b4d786b202e2ca82a4c3b3.tar.gz rails-e1066f450d1a99c9a0b4d786b202e2ca82a4c3b3.tar.bz2 rails-e1066f450d1a99c9a0b4d786b202e2ca82a4c3b3.zip |
Remove deprecated configuration `.error_on_ignored_order_or_limit`
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/core.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb index 945c4eca78..0f7a503c90 100644 --- a/activerecord/lib/active_record/core.rb +++ b/activerecord/lib/active_record/core.rb @@ -76,26 +76,6 @@ module ActiveRecord # scope being ignored is error-worthy, rather than a warning. mattr_accessor :error_on_ignored_order, instance_writer: false, default: false - def self.error_on_ignored_order_or_limit - ActiveSupport::Deprecation.warn(<<-MSG.squish) - The flag error_on_ignored_order_or_limit is deprecated. Limits are - now supported. Please use error_on_ignored_order instead. - MSG - error_on_ignored_order - end - - def error_on_ignored_order_or_limit - self.class.error_on_ignored_order_or_limit - end - - def self.error_on_ignored_order_or_limit=(value) - ActiveSupport::Deprecation.warn(<<-MSG.squish) - The flag error_on_ignored_order_or_limit is deprecated. Limits are - now supported. Please use error_on_ignored_order= instead. - MSG - self.error_on_ignored_order = value - end - ## # :singleton-method: # Specify whether or not to use timestamps for migration versions |