Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Listing < ActiveRecord::Base
- belongs_to :house
- belongs_to :multiple_listing_service
- end
- class House < ActiveRecord::Base
- has_one :zip_code
- has_one :primary_mls, through: :zip_code
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement