spree/spree — Issue #714: Error in PriceBucket - Undefined method to_d for Order
Author: manuca
Created: 2011-10-24 17:03:59+00:00
State: open

Currently im using Spree 0.70.0 and I saw some old posts on the issue on the Google Group although no solution confirmed.

The error appears when I submit address in the checkout process.

```
undefined method `to_d' for #

activemodel (3.1.1) lib/active_model/attribute_methods.rb:385:in `method_missing'
activerecord (3.1.1) lib/active_record/attribute_methods.rb:60:in `method_missing'
spree_core (0.70.0) app/models/calculator/price_bucket.rb:15:in `compute'
spree_core (0.70.0) app/models/order.rb:342:in `rate_hash'
spree_core (0.70.0) app/models/order.rb:341:in `collect'
spree_core (0.70.0) app/models/order.rb:341:in `rate_hash'

```

Thanks