Building a rails form to filter an index page?

Posted by Schroedinger on Stack Overflow See other posts from Stack Overflow or by Schroedinger
Published on 2010-04-24T04:30:01Z Indexed on 2010/04/24 4:33 UTC
Read the original article Hit count: 306

Filed under:
|
|
|

G'day guys, I'm having an issue with filtering the presentation of several thousand trade items I have in my system. As per the specs of the system we're building we have to have a form that allows people to put in a start date and then an interval in minutes, to filter the presentation of the items. I've built my helper functions to return all of the trades within that interval period, but I can't for the life of me properly build the form that will return a dateTime value and an integer value within the top of the index page?

Any ideas? Would I have to build a separate model object to assign values to, or is there a simpler way?

© Stack Overflow or respective owner

Related posts about rails

Related posts about ruby