Let
User.has_one :profile. I’ve always thought that@user.build_profileis a cheap thing to do - it’s just creating a new object without persisting it. But, in fact, it does 2 queries to the DB:BEGINandCOMMIT.
I’ve never seen this before. Is there anything interesting about your profile class ?
Fred