This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
rails--rails
Watch
1
Star
0
Fork
You've already forked rails--rails
0
mirror of
https://github.com/rails/rails.git
synced
2022-11-09 12:12:34 -05:00
Code
Releases
Activity
7f3b246b99
rails--rails
/
activerecord
/
test
/
models
/
legacy_thing.rb
4 lines
76 B
Ruby
Raw
Normal View
History
Unescape
Escape
allow the 'lock_version' column to be configured with set_locking_column. Closes #3402 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-14 04:36:52 -05:00
class
LegacyThing
<
ActiveRecord
::
Base
Deprecate set_locking_column in favour of self.locking_column=
2011-11-29 14:40:29 -05:00
self
.
locking_column
=
:version
allow the 'lock_version' column to be configured with set_locking_column. Closes #3402 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-14 04:36:52 -05:00
end
Copy permalink