hps_member/app/models/hps_county.rb

11 lines
198 B
Ruby

class HpsCounty
include Mongoid::Document
include Mongoid::Timestamps
field :old_id
field :name
field :zip_code
belongs_to :hps_city
has_many :hps_schools, :dependent => :destroy
end