orbit-basic/app/models/meta/meta.rb

12 lines
222 B
Ruby
Raw Normal View History

class Meta
include Mongoid::Document
include Mongoid::Timestamps
field :key
field :value, :default => nil
has_one :i18n_variable, :as => :language_value, :autosave => true, :dependent => :destroy
end