class HpsFile include Mongoid::Document include Mongoid::Timestamps mount_uploader :file, AssetUploader field :title field :download_count, type: Integer, :default => 0 field :year, type: Integer field :old_id belongs_to :hps_member belongs_to :hps_city end