Forum: Ruby on Rails Nonmodel fields - select_tag

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
rglara (Guest)
on 2005-11-24 05:32
(Received via mailing list)
Hi, I'm a ROR newbie and I'm trying to use a nonmodel field. Precisely,
trying to use the select_tag. Here's what I'm doing:

in my view:
<%=select_tag(:place_sel, options_for_select(@places,

in the controller, I try to get the selected item by doing this:

@tmp = @params[:place_sel]

and get nothing. What am I doing wrong?

Rodrigo Lara
This topic is locked and can not be replied to.