I know.....Semi-colons are evil. But, what if I have an application that has moved from one server to the next and it has Rails 2.0. I want the application to roll forward, so I don''t want to just freeze the app and stay old school. How do I convert an application that uses semi-colons to use the slashes? For example: /page/83;edit to /page/83/edit is it simply a routes change? thanks for any kind of reply, as long as it''s nice. :) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Aaron Reimann wrote:> I know.....Semi-colons are evil. But, what if I have an application > that has moved from one server to the next and it has Rails 2.0. I > want the application to roll forward, so I don''t want to just freeze > the app and stay old school. > > How do I convert an application that uses semi-colons to use the > slashes? For example: > > /page/83;edit > to > /page/83/edit > > is it simply a routes change? > > thanks for any kind of reply, as long as it''s nice. :)I thought the semi-colon was a Rails 1.x routing convention that''s been dropped. Do you get routing errors when you run your app on Rails 2.x? Are you doing anything out of the ordinary when referencing routes? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Are your semi colons hard coded? or are you using users_edit_path On Mar 19, 10:24 am, Lee Smith <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Aaron Reimann wrote: > > I know.....Semi-colons are evil. But, what if I have an application > > that has moved from one server to the next and it has Rails 2.0. I > > want the application to roll forward, so I don''t want to just freeze > > the app and stay old school. > > > How do I convert an application that uses semi-colons to use the > > slashes? For example: > > > /page/83;edit > > to > > /page/83/edit > > > is it simply a routes change? > > > thanks for any kind of reply, as long as it''s nice. :) > > I thought the semi-colon was a Rails 1.x routing convention that''s been > dropped. Do you get routing errors when you run your app on Rails 2.x? > Are you doing anything out of the ordinary when referencing routes? > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Semicolons is a 1.x thing that was dropped in 2.x. When I try to edit a page that is where the problem is. The ;''s are not hard coded to my knowledge. Meaning, I can''t find any in the code. thanks On Mar 19, 10:24 am, Lee Smith <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Aaron Reimann wrote: > > I know.....Semi-colons are evil. But, what if I have an application > > that has moved from one server to the next and it has Rails 2.0. I > > want the application to roll forward, so I don''t want to just freeze > > the app and stay old school. > > > How do I convert an application that uses semi-colons to use the > > slashes? For example: > > > /page/83;edit > > to > > /page/83/edit > > > is it simply a routes change? > > > thanks for any kind of reply, as long as it''s nice. :) > > I thought the semi-colon was a Rails 1.x routing convention that''s been > dropped. Do you get routing errors when you run your app on Rails 2.x? > Are you doing anything out of the ordinary when referencing routes? > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
aaron wrote:> Semicolons is a 1.x thing that was dropped in 2.x. When I try to edit > a page that is where the problem is. > > The ;''s are not hard coded to my knowledge. Meaning, I can''t find any > in the code. > > thanksSo what''s leading you to think that Rails 1.x use of semi-colons in URL''s for routes is your problem? Providing specific errors really help... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---