Answer the question
In order to leave comments, you need to log in
Rails models, how to implement the ability to select one of the three order states?
There is a table :orders with fields name and phone. How to make an order have three states (deleted, completed, rejected, canceled by the client)?
Through a secondary key with a state field and a primary key, or is there some more elegant way?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question