hps_member/app/models/hps_city.rb

11 lines
202 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
2017-05-25 10:02:17 +00:00
has_many :hps_files
2017-05-18 12:12:35 +00:00
end