app/models/effective/region.rb in effective_regions-1.8.4 vs app/models/effective/region.rb in effective_regions-1.8.5

- 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, optional: true # structure do # title :string # content :text # snippets :text