diff options
author | kennyj <kennyj@gmail.com> | 2013-07-14 02:12:33 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2013-09-24 21:56:52 +0900 |
commit | bb54fcdfadcab3d69b46da384d00abfd09626031 (patch) | |
tree | c84f06581328f8c740a8d1a29cee1cfd8c2b25fe /activerecord/lib | |
parent | 50ddf404122419abcfcc4af8439da020e2ff317e (diff) | |
download | rails-bb54fcdfadcab3d69b46da384d00abfd09626031.tar.gz rails-bb54fcdfadcab3d69b46da384d00abfd09626031.tar.bz2 rails-bb54fcdfadcab3d69b46da384d00abfd09626031.zip |
Deprecate unused quoted_locking_column method.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/locking/optimistic.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/locking/optimistic.rb b/activerecord/lib/active_record/locking/optimistic.rb index 626fe40103..55776a91c0 100644 --- a/activerecord/lib/active_record/locking/optimistic.rb +++ b/activerecord/lib/active_record/locking/optimistic.rb @@ -150,6 +150,7 @@ module ActiveRecord # 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 |