Answer the question
In order to leave comments, you need to log in
How to extract specific Order.name from params[:order] in the controller?
Using the form, I pass parameters such as:
id, name, post_cod, phone to the controller.
How can I specifically isolate, for example, phone?
It is necessary, in addition to saving the entire set of parameters in Order.new, to save one more parameter separately in another model.
It is the working syntactic construction that is of interest.
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