# Problem of updating the tag name from new.html.erb?

**URL:** <https://www.ruby-forum.com/t/problem-of-updating-the-tag-name-from-new-html-erb/155756>\
**Category:** Rails\
**Created:** [December 16, 2008, 11:16am UTC](https://www.ruby-forum.com/t/problem-of-updating-the-tag-name-from-new-html-erb/155756 "2008-12-16T11:16:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![srikanth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@srikanth](https://www.ruby-forum.com/u/srikanth)\
**Post date:** [December 16, 2008, 11:16am UTC](https://www.ruby-forum.com/t/problem-of-updating-the-tag-name-from-new-html-erb/155756/1 "2008-12-16T11:16:06Z")

</div>

Hi All,  
i have created tables called streams and tags.  
Tags table is to assign the tag name to stream table entries.  
to tag support i am using acts\_as\_taggable\_steroids plugin.

if i want to create a new table entry from new.html.erb am able to add  
and in the same page i am tring to enter the tag name to the stream  
table entry but i could not see it is updating in tag table…

to do this i added piece of code in new.html.erb

**Tags**  
  
\<%= f.text\_field :name %\>

But if do edit using edit.html.erb i able to update the tag table  
entry.

how to update the tag table entry in new.html.erb.here i am using  
below code to edit the tagname in tag table

**Tags**  
 \<%= f.text\_area('tags\_as\_text') %\>

thanks for reading the query.

regards  
Srikanth
