app/models/effective/region.rb in effective_regions-1.2.2 vs app/models/effective/region.rb in effective_regions-1.2.3

- old
+ new

@@ -1,9 +1,9 @@ module Effective class Region < ActiveRecord::Base self.table_name = EffectiveRegions.regions_table_name.to_s - belongs_to :regionable, :polymorphic => true + belongs_to :regionable, :polymorphic => true, :touch => true structure do title :string, :validates => [:presence] content :text snippets :text