diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-27 16:28:35 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-27 16:28:35 +0000 |
commit | d940797aa79f9c12df154422768096f77285e378 (patch) | |
tree | f225a040f9d8584f5063b36fa85bfcf84962e8a1 /app/models/wiki_content.rb | |
parent | d2f779d6e8cd8ffd42f0f2826e84876f2a19f916 (diff) | |
download | redmine-d940797aa79f9c12df154422768096f77285e378.tar.gz redmine-d940797aa79f9c12df154422768096f77285e378.zip |
set_table_name and set_locking_column are deprecated.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9549 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/wiki_content.rb')
-rw-r--r-- | app/models/wiki_content.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/wiki_content.rb b/app/models/wiki_content.rb index 1787a7898..ac7459826 100644 --- a/app/models/wiki_content.rb +++ b/app/models/wiki_content.rb @@ -18,7 +18,7 @@ require 'zlib' class WikiContent < ActiveRecord::Base - set_locking_column :version + self.locking_column = 'version' belongs_to :page, :class_name => 'WikiPage', :foreign_key => 'page_id' belongs_to :author, :class_name => 'User', :foreign_key => 'author_id' validates_presence_of :text |