I would like to produce a URL as
/swimming/students/get_times/2013-01-01/2013-02-02
from this route
get_class_swimming_students
Try to use that
get_class_swimming_students_path(:start_date => "2013-01-01", :end_date => "2013-02-02")