aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/legacy_thing.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-11-29 19:40:29 +0000
committerJon Leighton <j@jonathanleighton.com>2011-11-29 20:13:37 +0000
commitf3c84dc31692204aacac3c125dcfcc986fd961a0 (patch)
tree71731744d75ff5ea5c05ca20e435266f0bf1e2c7 /activerecord/test/models/legacy_thing.rb
parent1a474cc8e41522ae079871d297c0e61ee4f6ef35 (diff)
downloadrails-f3c84dc31692204aacac3c125dcfcc986fd961a0.tar.gz
rails-f3c84dc31692204aacac3c125dcfcc986fd961a0.tar.bz2
rails-f3c84dc31692204aacac3c125dcfcc986fd961a0.zip
Deprecate set_locking_column in favour of self.locking_column=
Diffstat (limited to 'activerecord/test/models/legacy_thing.rb')
-rw-r--r--activerecord/test/models/legacy_thing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/legacy_thing.rb b/activerecord/test/models/legacy_thing.rb
index eaeb642d12..eead181a0e 100644
--- a/activerecord/test/models/legacy_thing.rb
+++ b/activerecord/test/models/legacy_thing.rb
@@ -1,3 +1,3 @@
class LegacyThing < ActiveRecord::Base
- set_locking_column :version
+ self.locking_column = :version
end