spec/spec_helper.rb in soft_deletion-0.4.5 vs spec/spec_helper.rb in soft_deletion-0.4.6
- old
+ new
@@ -166,5 +166,11 @@
end
belongs_to :category
end
+class Cat2Forum < ActiveRecord::Base
+ silent_set_table_name 'forums'
+
+ has_soft_deletion :default_scope => true
+end
+