20 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)%>

These are the best versions and recreations of the geometry dash series game, with each level featuring beautiful decoration, fun gameplay, and an epic boss fight.

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.