SHARE
TWEET

Untitled

a guest Mar 20th, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Listing < ActiveRecord::Base
  2.   belongs_to :house
  3.   belongs_to :multiple_listing_service
  4. end
  5.  
  6. class House < ActiveRecord::Base
  7.   has_one :zip_code
  8.   has_one :primary_mls, through: :zip_code
  9. end
RAW Paste Data
Top