Sha256: c071a4c04f5103f6509d94ee9414705f694da2733170e5304dd2af9523b9c510
Contents?: true
Size: 339 Bytes
Versions: 12
Compression:
Stored size: 339 Bytes
Contents
class Settings include Mongoid::Document include Mongoid::Timestamps include PublicActivity::Model # Columns field :var, :type => String field :value, :type => String index({var: 1}, {unique: true}) tracked owner: ->(controller, model) { controller.try(:current_user) } def self.table_exists? true end end
Version data entries
12 entries across 12 versions & 1 rubygems