however this does not work. I can set order.customer_id at the
beginning, before save and id are called and the spec passes.
Ordering does not work across objects. Does this really need to happen
in order? What’s the real requirement you’re trying to express (not how
the code is doing it, but what’s supposed to happen at a high level)?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.