mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 13:55:52 +01:00
set_table_name deprecated.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9550 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -3,12 +3,12 @@ class Note < ActiveRecord::Base
|
||||
end
|
||||
|
||||
class Default < ActiveRecord::Base
|
||||
set_table_name 'categories'
|
||||
self.table_name = 'categories'
|
||||
acts_as_nested_set
|
||||
end
|
||||
|
||||
class ScopedCategory < ActiveRecord::Base
|
||||
set_table_name 'categories'
|
||||
self.table_name = 'categories'
|
||||
acts_as_nested_set :scope => :organization
|
||||
end
|
||||
|
||||
@@ -48,7 +48,7 @@ end
|
||||
|
||||
class DefaultWithCallbacks < ActiveRecord::Base
|
||||
|
||||
set_table_name 'categories'
|
||||
self.table_name = 'categories'
|
||||
|
||||
attr_accessor :before_add, :after_add, :before_remove, :after_remove
|
||||
|
||||
|
||||
Reference in New Issue
Block a user