Flush the cache

So all preferences are fetch from DB now that they have changed.
This commit is contained in:
Pau Perez
2020-06-23 17:23:22 +02:00
parent 190797717a
commit a81e17f23c

View File

@@ -7,6 +7,8 @@ class FixPreferencesKeys < ActiveRecord::Migration
new_preferences.delete_all
Spree::Preference.update_all("key = '/' || key")
Rails.cache.clear
end
def down