Forum: Ruby on Rails how to update the table data with the dropdown box fields?

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.
srikanth (Guest)
on 2008-12-19 07:51
(Received via mailing list)
Hi i have a table called "streams" with columns "name" and
"interlace".

Using below code :

<select name="Interlaced">
        <option>Yes</option>
        <option>No</option>
          </select>

using above code am creating dropdown box with fields "yes" and "no".
Here what i want to do is if i select the interlace field as "Yes" it
should be updated in streams table while i am entering new stream
details in stream table.


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