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

Scott Tamosunas tamosunas at gmail.com
Sun Feb 18 14:30:03 GMT 2007


On 2/18/07, Grant Neufeld <grant at grantneufeld.ca> wrote:
>
> 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.


Ok, how was it done previously? Up in my rhtml file, I am using <%= link_to
"personal_projects", :action => "personal_projects" %>, I thought that was
fairly standard?

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.


I totally agree, I just found out about the difference on my hosting site.
And thanks for the freezing suggestion, that makes sense to me. However,
when I run rake rails:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070218/364ef7e7/attachment.htm


More information about the Locomotive-users mailing list