From f6c754839bb46ce7a52c6e4a0542bb0e640d44e9 Mon Sep 17 00:00:00 2001 From: Cillian O'Ruanaidh Date: Fri, 17 Jun 2022 10:51:58 +0100 Subject: [PATCH] Make OrderCycleShippingMethod inherit from ApplicationRecord --- app/models/order_cycle_shipping_method.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/order_cycle_shipping_method.rb b/app/models/order_cycle_shipping_method.rb index ebb0420660..fa9c362edb 100644 --- a/app/models/order_cycle_shipping_method.rb +++ b/app/models/order_cycle_shipping_method.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class OrderCycleShippingMethod < ActiveRecord::Base +class OrderCycleShippingMethod < ApplicationRecord belongs_to :order_cycle belongs_to :shipping_method, class_name: "Spree::ShippingMethod"