Jesper Rønn-Jensen
2007-Nov-27 08:58 UTC
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---