Forum: Ruby on Rails problem of updating the tag name from new.html.erb ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E38118c6d20b4544e424fd700571e090?d=identicon&s=25 srikanth (Guest)
on 2008-12-16 11:16
(Received via mailing list)
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
        <p>
           <b>Tags</b><br />
           <%= f.text_field :name %>
         </p>

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
<p>
           <b>Tags</b><br />
           <%= f.text_area('tags_as_text') %>
         </p>


thanks for reading the query.

regards
Srikanth
This topic is locked and can not be replied to.