Hey there!
<%= options_for_select(["Size": ["XS", "S", "M", "L", "XL"]], nil) %>
I have this line inside my html to make a select menu with those options, i was wondering how can i get the value of 1 option to a function?
Wrong Example :
<%= get_value (options_for_select(["Size": ["XS", "S", "M", "L", "XL"]], nil)) %>
Any thoughts how can i do that? Thank you 🙂