Hello,
Is there a way to use the Rails select list with a local variable that
isn’t tied to any models?
Here is what I mean:
<%= select(@name, %w{Joe Fred Arnold}) %>
It gives this error:
wrong number of arguments (2 for 3)
Is there a way to use the select list with a local variable? Any help
is appreciated.