Select tags and variables

Is there a way to make pass a variable into a select tag so that the prompt would show that value.

In other words if my select was being pulled from a table could I say something like this:

@mystate = "New York"

select(:state, :id @states, :prompt => @mystate)

Any possibility ?

TIA Stuart

Is there a way to make pass a variable into a select tag so that the prompt would show that value.

In other words if my select was being pulled from a table could I say something like this:

@mystate = "New York"

select(:state, :id @states, :prompt => @mystate)

Any possibility ?