Forum: Ruby on Rails Select forms

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
johnsonmlw (Guest)
on 2009-03-13 15:30
(Received via mailing list)
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?

Thanks.

--
Matt
This topic is locked and can not be replied to.