# Controller and views

**URL:** <https://www.ruby-forum.com/t/controller-and-views/161298>\
**Category:** Rails\
**Created:** [February 25, 2009, 8:22am UTC](https://www.ruby-forum.com/t/controller-and-views/161298 "2009-02-25T08:22:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nilez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@nilez](https://www.ruby-forum.com/u/nilez)\
**Post date:** [February 25, 2009, 8:22am UTC](https://www.ruby-forum.com/t/controller-and-views/161298/1 "2009-02-25T08:22:47Z")

</div>

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 |
| --- |

---

<div class="post-metadata">

**Author:** ![nilez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@nilez](https://www.ruby-forum.com/u/nilez)\
**Post date:** [February 26, 2009, 2:07am UTC](https://www.ruby-forum.com/t/controller-and-views/161298/2 "2009-02-26T02:07:11Z")

</div>

Check out the complex forms railscast.

> **[\#73 Complex Forms Part 1 - RailsCasts](http://railscasts.com/episodes/73-complex-forms-part-1)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

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