On my development server, everything works fine. When I deploy to my production environment, I see the following in my Urls: www.mysite.com/main/:id:format I am using the same routes file, which is the default routes file. Am I missing a configuration? Thanks, Scott --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Also, I checked the production.log and this is the only entry of
interest I came across:
Processing MainController#personal_projects (for 72.93.254.252 at
2007-02-16 05:52:54) [GET]
Session ID: 4851f0a98872d79e7f38322e528f0dc8
Parameters: {"action"=>"personal_projects",
"controller"=>"main"}
Rendering within layouts/main
Rendering main/personal_projects
Completed in 0.02278 (43 reqs/sec) | Rendering: 0.02159 (94%) | DB:
0.00000 (0%) | 200 OK [http://www.mysite.com/main/
personal_projects/:id.:format]
On Feb 16, 8:56 am, "Scott"
<tamosu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> On my development server, everything works fine. When I deploy to my
> production environment, I see the following in my Urls:
>
> www.mysite.com/main/:id:format
>
> I am using the same routes file, which is the default routes file.
>
> Am I missing a configuration?
>
> Thanks,
>
> Scott
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Anyone have any ideas on this? On Feb 16, 9:56 am, "Scott" <tamosu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Also, I checked the production.log and this is the only entry of > interest I came across: > > Processing MainController#personal_projects (for 72.93.254.252 at > 2007-02-16 05:52:54) [GET] > Session ID: 4851f0a98872d79e7f38322e528f0dc8 > Parameters: {"action"=>"personal_projects", "controller"=>"main"} > Rendering within layouts/main > Rendering main/personal_projects > Completed in 0.02278 (43 reqs/sec) | Rendering: 0.02159 (94%) | DB: > 0.00000 (0%) | 200 OK [http://www.mysite.com/main/ > personal_projects/:id.:format] > > On Feb 16, 8:56 am, "Scott" <tamosu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > On my development server, everything works fine. When I deploy to my > > production environment, I see the following in my Urls: > > >www.mysite.com/main/:id:format > > > I am using the same routes file, which is the default routes file. > > > Am I missing a configuration? > > > Thanks, > > > Scott--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Anyone have any ideas on this? On my development server, everything works fine. When I deploy to my production environment, I see the following in my Urls: www.mysite.com/main/:id:format I am using the same routes file, which is the default routes file. Am I missing a configuration? Thanks, Scott Hi Scott, Just ran into this. In Rails Edge there''s a typo in config/ routes.rb . Remove the period from this line, and you''ll be all set: < map.connect '':controller/:action/:id./:format'' --- -> map.connect '':controller/:action/:id/:format'' Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---