Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
problem with routes.rb
Anand Srinu
4/4/2007 10:42:00 AM
I had developed an ROR application with the ruby 1.8.2 version. In that,
I had used the map.connect as the routing way(without parameters).
Ex: â? map.connect â??/loginâ??, :controller => â??loginâ??, :action =>
â??user_loginâ?? â??
This is also working in the ruby 1.8.6 and with rails 1.2.3.
But passing the parameters in the routes like â? map.connect
â??/login/change_password/:idâ??, :controller => â??loginâ??, :action =>
â??change_passwordâ?? ,:id=>/\d+/ â? which was working in the ruby version
1.8.2 and rails version of 1.1.__ is not working in the combination of
ruby 1.8.6 and rails 1.2.3.
* Create a new application in this environment (ruby 1.8.6 and rails
1.2.3.) and this parameter passing (Ex: map.connect â?/:slugâ?,
,:slug=>/\d+/) works.
I am trying to tell that the same application which used the map.connect
way to pass parameters and working in Ruby 1.8.2 is not working with
ruby 1.8.6 and rails 1.2.3
can anybody suggest a solution for this
I want the same application to be working in ruby 1.8.6
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
problem with routes.rb
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password