weather/app/models/ruling_weather_cache.rb

7 lines
202 B
Ruby

class RulingWeatherCache
include Mongoid::Document
include Mongoid::Timestamps
field :cache
field :cache_time , :type=> DateTime, :default=> DateTime.now
belongs_to :ruling_weather_setting
end