I would like to use the collection_select with a simply array as the
source
of the collection.
My array looks like this:
STATES = [“Alabama”, “Alaska”, “Texas”]
and it is stored in my environment.rb
I can’t figure out the syntax for the collection_select in this
situation…
collection_select(“my_object”, “state”, what goes here??? )
I just need the state name to go on both the value and the label field
of
each
I would be grateful for any help.
Thanks,
Shelby