From a07029f660652c85d311c7c2dab051d9a2f68b4a Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Thu, 24 Sep 2020 13:39:30 +0100 Subject: [PATCH] Add require so that model is available when needed --- app/models/spree/preferences/preferable.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/models/spree/preferences/preferable.rb b/app/models/spree/preferences/preferable.rb index 76f4e6aad7..91a14256af 100644 --- a/app/models/spree/preferences/preferable.rb +++ b/app/models/spree/preferences/preferable.rb @@ -10,6 +10,9 @@ # inherited hook will assign a new hash for the subclass definitions # and copy all the definitions allowing the subclass to add # additional defintions without affecting the base + +require 'spree/preferences/store' + module Spree module Preferences module Preferable