I'd like to have my index page present the user with a Form for
selecting a Date range
Start 2008-06-19 End: 2008-06-29 and then pass this information into
my ActiveRecord Find
I'm working with a legacy DB and with the help of the list Im able to
do all my queries and understand what's going on but I'm having
trouble figuring out the method to pass my gathered Date Range search
to my Find.
I'm assuming I would want to use form tag and present this from the
index page and results to the index page as well?
My Current Static Find:
@reports = Report.find(:all, :conditions => "expiration_date between
'2008-06-19' and '2008-06-29'", :order => 'expiration_date DESC')
Still just a newb but the power of ActiveRecord is fantastic.