class GalleryCategory
include Mongoid::Document
include Mongoid::Timestamps
has_one :i18n_variable, :as => :language_value, :autosave => true, :dependent => :destroy
end