Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Property < ActiveRecord::Base
- has_one :address
- end
- class Address < ActiveRecord::Base
- has_many :properties
- accepts_nested_attributes_for :properties
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement