app/models/piggybak/shipping_method.rb in piggybak-0.5.5 vs app/models/piggybak/shipping_method.rb in piggybak-0.6.0
- old
+ new
@@ -21,10 +21,10 @@
end
end
end
def klass_enum
- Piggybak.config.shipping_calculators
+ Piggybak.config.shipping_calculators.collect { |b| [ b.constantize.description, b ] }
end
def self.available_methods(cart)
active_methods = ShippingMethod.find_all_by_active(true)