10 Experience
0 Lessons Completed
0 Questions Solved


Posted in Use select_tag to link to customer show page

I'm attempting to create a select drop down that will navigate to a show page within my app. Each option is a college that has its own independent show page. I'm having trouble with creating the syntax around my onChange listener and route so that the user navigates to the correct show page. geometry dash

Select A College/University <% @schools.each do |school| %> <%= link_to school.name, school_path(school)%> <%end%>