Select list

I want to create a select list that will switch between types of data
from the database. Basically, the select list will have few options that
I want them to serve as a condition in the sql statement.
My question is how can I pass selected value from the list into the
controller and keep that value selected?

Repeat after me “Form Helpers”

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs