spec/support/models.rb in closure_tree-4.2.9 vs spec/support/models.rb in closure_tree-4.3.0
- old
+ new
@@ -93,9 +93,9 @@
attr_accessible :name if _ct.use_attr_accessible?
end
end
class Metal < ActiveRecord::Base
- self.table_name = 'metal'
+ self.table_name = "#{table_name_prefix}metal#{table_name_suffix}"
acts_as_tree :order => 'sort_order'
self.inheritance_column = 'metal_type'
end