Catch the value of a select_tag and put in a variable

0

I want to get the value of this select_tag and put it in the link_to message

<%= select_tag(:testee, options_for_select(CloneDatabaseController.find_all_models)) %>

<%= link_to('Click here', controller: 'clone_database', action: 'show', message: :testee) %>
    
asked by anonymous 13.12.2016 / 20:45

0 answers