class GalleryCategory
include Mongoid::Document
include Mongoid::Timestamps
field :name, localize: true
has_many :gallery_albums, :autosave => true, :dependent => :destroy
end