Perhaps I'm thinking a bit 'php' about this. What I'm trying to do
doesn't seem to be very 'rails' so I could use some guidance.
I'd like to provide filters on data before rendering a table, and I'm
thinking that select drop-downs on a form would be one way to achieve
this. The user could drop-down select the data to see (in this case
for example, selecting English assessment results, or Reading, or
Maths; then another select drop-down to select the group of pupils (by
cohort), then another for selecting gender, etc. This could all be
selected on one form, then submitted and I'd like the page to reload
and render the relevant data. This is the way I would handle it in
php. But I suspect there maybe a better way in rails?
Could someone assist my thinking please?