app/models/feature.rb in spatial_features-2.3.0 vs app/models/feature.rb in spatial_features-2.3.1
- old
+ new
@@ -1,6 +1,6 @@
class Feature < ActiveRecord::Base
- belongs_to :spatial_model, :polymorphic => :true
+ belongs_to :spatial_model, :polymorphic => :true, :autosave => false
attr_writer :make_valid
FEATURE_TYPES = %w(polygon point line)