How to give name to text_files dynamically


I am new to rubyonrais..

I want to display data in table with textfields from database, so
i can edit all the values at a time, I mean all rows data.then i have
to save all rows at at time.

How to do this in rails..
Urgen please

Where's the code representing your own failed attempt?

In a nutshell you have to name your form elements like foo[] so they
arrive in the post as arrays of data.