diff options
author | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2014-06-10 22:36:00 +0530 |
---|---|---|
committer | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2014-06-10 22:36:00 +0530 |
commit | bd43203deff9a74936b0eb4dabf05eb294915d60 (patch) | |
tree | 2719ffe173fe3679726fc25797f14f11fa5c0445 /activerecord/lib/active_record | |
parent | 4d209b5daf0eba4c8d008e9d009d0576e04f40d1 (diff) | |
download | rails-bd43203deff9a74936b0eb4dabf05eb294915d60.tar.gz rails-bd43203deff9a74936b0eb4dabf05eb294915d60.tar.bz2 rails-bd43203deff9a74936b0eb4dabf05eb294915d60.zip |
Remove deprecated method ActiveRecord::Base.quoted_locking_column
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/locking/optimistic.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/lib/active_record/locking/optimistic.rb b/activerecord/lib/active_record/locking/optimistic.rb index f7ceff7469..4528d8783c 100644 --- a/activerecord/lib/active_record/locking/optimistic.rb +++ b/activerecord/lib/active_record/locking/optimistic.rb @@ -151,12 +151,6 @@ module ActiveRecord @locking_column end - # Quote the column name used for optimistic locking. - def quoted_locking_column - ActiveSupport::Deprecation.warn "ActiveRecord::Base.quoted_locking_column is deprecated and will be removed in Rails 4.2 or later." - connection.quote_column_name(locking_column) - end - # Reset the column used for optimistic locking back to the +lock_version+ default. def reset_locking_column self.locking_column = DEFAULT_LOCKING_COLUMN |