diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-11-29 19:40:29 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-11-29 20:13:37 +0000 |
commit | f3c84dc31692204aacac3c125dcfcc986fd961a0 (patch) | |
tree | 71731744d75ff5ea5c05ca20e435266f0bf1e2c7 /activerecord/test/models/legacy_thing.rb | |
parent | 1a474cc8e41522ae079871d297c0e61ee4f6ef35 (diff) | |
download | rails-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.rb | 2 |
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 |