hps_member/app/models/hps_city.rb

10 lines
180 B
Ruby
Raw Normal View History

2017-05-18 12:12:35 +00:00
class HpsCity
include Mongoid::Document
include Mongoid::Timestamps
field :old_id
field :name
has_many :hps_counties, :dependent => :destroy
has_many :hps_schools
end