Files
openfoodnetwork/app/models/spree
Matt-Yorkley ee0da87681 Fix touch call to unsaved object
Failure/Error: enterprise.andand.touch

       ActiveRecord::ActiveRecordError:
         cannot touch on a new or destroyed record object. Consider using persisted?, new_record?, or destroyed? before touching
       # ./app/models/spree/address.rb:155:in `touch_enterprise'
       # ./spec/factories/product_factory.rb:12:in `block (3 levels) in <top (required)>'
       # ./spec/factories/variant_factory.rb:26:in `block (4 levels) in <top (required)>'
       # ./spec/models/spree/variant_spec.rb:9:in `block (2 levels) in <module:Spree>'
2021-03-18 21:53:00 +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-17 22:23:04 +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