Hi Everyone, I would like restfully add a parameter to the new named path.
So for example, if I had a reservation resource, i would like to use the helper route:
new_reservation_path(date)
which would create the url:
/reservations/new/2009-6-10.
I then would grab the date in my new controller using
params[:date]
and default the reservation.date field to that date. Does any know if adding a parameter like this can be done? If not, any idea's about other ways to do this elegently?
Thank you very much, Charlie