[Locomotive-users] Seeing /:id:format in my production urls

Grant Neufeld grant at grantneufeld.ca
Sun Feb 18 06:21:48 GMT 2007


At 12:27 AM -0500 2/18/07, Scott Tamosunas wrote:
>production environment, I see the following in my Urls:
>
>  www.mysite.com/main/:id:format
...
>I also noticed the rails version in the locomotive bundle is 1.2.1 
>and on my hosting server it's 1.1.6.

That's the problem. Support for mixing colon-separated parameters 
within a chunk of the url was added in Rails 1.2.

In general, it's a _very_ good idea to run with the identical version 
of Rails on both your development and production systems.

You may want to freeze Rails into your project's vendor folder to be certain.


More information about the Locomotive-users mailing list