I have a one-to-many relationship. I want to be able to add objects
to the collection w/out persisting them. How do I do this?
The only thing I can’t think of is to use a transaction and roll it
In other words - I want to do this:
o = Order.find(1)
p = Product.find(1)
o.products << p # but don’t persist this
I assume I’m just missing something obvious here. Any ideas?