ruby on rails - A way to make use of form automagic for a controller without a model -
I do not have a model that controls a very cyclical work, the user is basically filling a form, Something is sending it to the server for small analysis, and then the server takes almost a single thing back to the user. The user makes some adjustments, and the process starts again.
There is nothing to save or archive through this process, so there is no model in it.
To deal with a large number of areas to work with Form I, is there any way that I can retrieve the parameter hash by retrieving areas with the least amount in the view back?
Actually, I want to change some values in Paramash hash, but pass more or less hash back so that it can almost fine-tune the view that when it was submitted.
The old way to use OpenStruct was ideal.
Will this help? In
Administrator action , just start a code like @params (or something like this), so that
parameter to be able to use all the values, can be available on that watch page.
Comments
Post a Comment