# Editing Multiple Objects (line items)

**URL:** <https://www.ruby-forum.com/t/editing-multiple-objects-line-items/111087>\
**Category:** Rails\
**Created:** [August 2, 2007, 2:46pm UTC](https://www.ruby-forum.com/t/editing-multiple-objects-line-items/111087 "2007-08-02T14:46:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gamafranco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9adbd/32.png) [@gamafranco](https://www.ruby-forum.com/u/gamafranco)\
**Post date:** [August 2, 2007, 2:46pm UTC](https://www.ruby-forum.com/t/editing-multiple-objects-line-items/111087/1 "2007-08-02T14:46:17Z")

</div>

Hi,

I’m having trouble finding a elegant way to edit multiple objects in the  
same form (line items).

Can someone point a resource to a patter for the design of the view? A  
rails plugin can also be handy.

Thanks,  
Tiago F.

---

<div class="post-metadata">

**Author:** ![gamafranco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9adbd/32.png) [@gamafranco](https://www.ruby-forum.com/u/gamafranco)\
**Post date:** [August 2, 2007, 7:59pm UTC](https://www.ruby-forum.com/t/editing-multiple-objects-line-items/111087/2 "2007-08-02T19:59:31Z")

</div>

Gama F. wrote:

> Hi,
> 
> I’m having trouble finding a elegant way to edit multiple objects in the  
> same form (line items).
> 
> Can someone point a resource to a patter for the design of the view? A  
> rails plugin can also be handy.
> 
> Thanks,  
> Tiago F.

This thread might help, as will p. 499 of the Agile book (2nd ed.)

[http://www.ruby-forum.com/topic/120100](http://www.ruby-forum.com/topic/120100)

---

<div class="post-metadata">

**Author:** ![gamafranco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9adbd/32.png) [@gamafranco](https://www.ruby-forum.com/u/gamafranco)\
**Post date:** [August 3, 2007, 8:31pm UTC](https://www.ruby-forum.com/t/editing-multiple-objects-line-items/111087/3 "2007-08-03T20:31:04Z")

</div>

Dondi S. wrote:

> Gama F. wrote:
> 
> > Hi,
> > 
> > I’m having trouble finding a elegant way to edit multiple objects in the  
> > same form (line items).
> > 
> > Can someone point a resource to a patter for the design of the view? A  
> > rails plugin can also be handy.
> > 
> > Thanks,  
> > Tiago F.
> 
> This thread might help, as will p. 499 of the Agile book (2nd ed.)
> 
> [How to update a list of Models 'automatically' in 1 action - Rails - Ruby-Forum](http://www.ruby-forum.com/topic/120100)

Thanks Dondi. That was what I was looking for. But my view is slight  
different since I’m using render partial for a collection. Anyway the  
code of the controller is straight forward.

Regards 🙂
