app/models/piggybak/shipping_method.rb in piggybak-0.6.9 vs app/models/piggybak/shipping_method.rb in piggybak-0.6.10

- old
+ new

@@ -6,10 +6,10 @@ validates_presence_of :description validates_presence_of :klass accepts_nested_attributes_for :shipping_method_values, :allow_destroy => true - attr_accessible :active, :shipment_method_values_attributes, :description, + attr_accessible :active, :shipping_method_values_attributes, :description, :klass validates_each :shipping_method_values do |record, attr, value| if record.klass.present? calculator = record.klass.constantize