Suppose I have two models: Person & House. A Person :has_one House (and a House :belongs_to a Person).
I can create a new House for a Person and everything is wired up correctly. I can even create another new House for that same Person (which automatically deletes the old house and associates the new house). So I’m all good there.
What confuses me is the difference between person.build_house and person.create_house. I believe build_house should build the record, but not save it, which is what I want to do.
The problem I have is when I call person.build_house it is automatically destroying (or disassociating) the original house record immediately.
Am I misinterpreting the docs? Or perhaps doing something I shouldn’t be trying to do in the first place? :).