Suggestion: add line number reference to this error message (routes)

ruby script\console test Loading test environment (Rails 1.99.0) Route segment ":day" cannot be optional because it precedes a required segment. This segment will be required. Route segment ":day" cannot be optional because it precedes a required segment. This segment will be required. Route segment ":day" cannot be optional because it precedes a required segment. This segment will be required. Route segment ":day" cannot be optional because it precedes a required segment. This segment will be required. Loaded test environment with Rails 1.99.0, Ruby 1.8.6 (2007-03-13)

May I suggest you add a line number to the error explanation. In this particular project we use :day in 17 routes, so a direct reference would be very convenient and time-saving here. I have not had the time to look up and add it myself, and hope some of you can create a patch for it.

Thanks!

/Jesper Rønn-Jensen Blog: www.justaddwater.dk