# A question about render

**URL:** <https://www.ruby-forum.com/t/a-question-about-render/157009>\
**Category:** Rails\
**Created:** [January 6, 2009, 1:43pm UTC](https://www.ruby-forum.com/t/a-question-about-render/157009 "2009-01-06T13:43:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![youhaodeyi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/b9bd4f/32.png) [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Post date:** [January 6, 2009, 1:43pm UTC](https://www.ruby-forum.com/t/a-question-about-render/157009/1 "2009-01-06T13:43:52Z")

</div>

I faced a problem about render. This is my view page:

 \<%= render :partial=\>'test1'%\>

In \_test1.html.erb:

```
<td><%=select_tag 'database_select',

```

options\_for\_select(@databases)%\>

 \<%=text\_field\_tag 'table', @table\_name,:size=\>30%\>

You can see that in the partial page, I use

 and element to  
make a new row in the current table. When rendering this page, the  
second row which id is ‘test2’ never update. How can I render the second  
row in this case?

---

<div class="post-metadata">

**Author:** ![youhaodeyi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/b9bd4f/32.png) [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Post date:** [January 7, 2009, 1:56am UTC](https://www.ruby-forum.com/t/a-question-about-render/157009/2 "2009-01-07T01:56:45Z")

</div>

Can anyone help me on this?
