Files
openfoodnetwork/app/models/spree
Matt-Yorkley 77b0e2d23f Update has_many_through on Order
Fixes:

384) Spree::OrderMailer basic behaviour doesn't aggressively escape double quotes in confirmation body
       Failure/Error: adjustments = adjustments.to_a + order.shipment_adjustments.to_a

       ActionView::Template::Error:
         Cannot have a has_many :through association 'Spree::Order#shipment_adjustments' which goes through 'Spree::Order#shipments' before the through association is defined.
       # ./app/helpers/checkout_helper.rb:10:in `checkout_adjustments_for'
       # ./app/views/spree/order_mailer/_order_summary.html.haml:43:in `_app_views_spree_order_mailer__order_summary_html_haml__2911251238692323485_70331958934800'
       # ./app/views/spree/order_mailer/confirm_email_for_customer.html.haml:23:in `_app_views_spree_order_mailer_confirm_email_for_customer_html_haml__3734564010704881256_70331959518520'
       # ./app/mailers/spree/order_mailer.rb:35:in `block in confirm_email_for_customer'
       # ./app/mailers/spree/order_mailer.rb:33:in `confirm_email_for_customer'
       # ./spec/mailers/order_mailer_spec.rb:20:in `block (3 levels) in <top (required)>'
       # ------------------
       # --- Caused by: ---
       # ActiveRecord::HasManyThroughOrderError:
       #   Cannot have a has_many :through association 'Spree::Order#shipment_adjustments' which goes through 'Spree::Order#shipments' before the through association is defined.
       #   ./app/helpers/checkout_helper.rb:10:in `checkout_adjustments_for'
2021-03-18 21:56:37 +00:00
..
2021-03-09 16:22:46 +01:00
2020-08-07 13:45:25 +01:00
2020-11-27 13:59:46 +00:00
2020-11-04 12:15:45 +00:00
2021-03-18 21:53:00 +00:00
2020-09-01 17:09:22 +01:00
2020-09-05 16:38:36 +01:00
2020-09-05 16:43:27 +01:00
2020-08-06 01:41:28 +01:00
2020-12-10 15:33:34 +11:00
2021-03-17 22:23:04 +00:00
2020-11-04 12:15:23 +00:00
2020-11-04 12:15:23 +00:00
2020-09-17 14:06:50 +01:00
2020-09-17 14:06:51 +01:00
2021-03-18 21:56:37 +00:00
2020-09-23 22:13:36 +01:00
2020-11-04 12:15:23 +00:00
2020-09-02 22:40:46 +01:00
2020-09-17 14:06:50 +01:00
2020-08-06 01:41:28 +01:00
2021-02-18 12:20:29 +00:00
2021-03-17 22:23:04 +00:00
2020-09-05 16:43:27 +01:00