Controller and views


#1

hi,

I am writing an application in which i have list of books fetching from
data base,i am using textbox to display that data from database .ie
“xyz” hindi, are in textbox.
i am displaying 100 record per page ,i want to use single save button
that will save changes in all page instead of for each recors (means if
i change “xyz”(name) from first line and “english”(language) from second
and clock on save button all changes must be saved in database)how can i
do that?

id name language year
1 xuz hindi 2008
2 sdd english 1982
.
.
.
.
.
100 xde eng 2009


save button

#2

Check out the complex forms railscast.
http://railscasts.com/episodes/73-complex-forms-part-1

On Tue, Feb 24, 2009 at 11:22 PM, Nilesh K.