class HpsCity include Mongoid::Document include Mongoid::Timestamps field :old_id field :name has_many :hps_counties, :dependent => :destroy has_many :hps_schools has_many :hps_files end