From 20bc7c888c58ad3875b19b48a3eccfe7917db6ef Mon Sep 17 00:00:00 2001 From: bohung Date: Fri, 25 Nov 2022 00:37:19 +0800 Subject: [PATCH] Adjust for page cache delete. --- app/models/ruling_bus_cache.rb | 1 + app/models/ruling_bus_city.rb | 1 + app/models/ruling_bus_info.rb | 1 + 3 files changed, 3 insertions(+) diff --git a/app/models/ruling_bus_cache.rb b/app/models/ruling_bus_cache.rb index 7c0f3ec..346b05b 100644 --- a/app/models/ruling_bus_cache.rb +++ b/app/models/ruling_bus_cache.rb @@ -1,4 +1,5 @@ class RulingBusCache + include RulingBusConcern include Mongoid::Document include Mongoid::Timestamps field :dict, type: Array, default: [] diff --git a/app/models/ruling_bus_city.rb b/app/models/ruling_bus_city.rb index e9d2441..d186261 100644 --- a/app/models/ruling_bus_city.rb +++ b/app/models/ruling_bus_city.rb @@ -1,4 +1,5 @@ class RulingBusCity + include RulingBusConcern include Mongoid::Document include Mongoid::Timestamps field :dict, type: Hash, default: {} diff --git a/app/models/ruling_bus_info.rb b/app/models/ruling_bus_info.rb index 2fe09b5..8974095 100644 --- a/app/models/ruling_bus_info.rb +++ b/app/models/ruling_bus_info.rb @@ -1,4 +1,5 @@ class RulingBusInfo + include RulingBusConcern include Mongoid::Document include Mongoid::Timestamps