Topic: new to rails need help

i've created one form that contains dynamic text boxes( add and remove). i want to keep text of these text boxes into database. my question is how to maintain database data according to dynamic text boxes into form ?
e.g. there can be only one text box or more than one.

Re: new to rails need help

When saying

i want to keep text of these text boxes into database

it means that you have to get the values from the parameters (params hash) and pass them to the corresponding controller action, I suppose, either create or update, depending on what  kind of operation you are doing.
What do you mean under

how to maintain database data according to dynamic text boxes into form ?

A form that you post to either create a new record or update an existing one, contains a series of values included into 'params' hash> In your controller you will have just to get them out and pass to your model method.

Last edited by Javix (2012-04-02 08:55:29)