D
D
Dmitry2018-11-23 21:59:54
Ruby on Rails
Dmitry, 2018-11-23 21:59:54

Is it possible to use the form_for helper (or any other form helper) to get params without using a model?

Actually subj. I want to understand how this thing works and I suspect that if there is no model| in the application, then using the form helper is impossible. If I'm wrong, please tell me how you can pass the hash in params to a global variable in an application that does not have a model at all.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2018-11-24
@2ord

https://guides.rubyonrails.org/form_helpers.html#d...
No model: ..._tag

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question