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