Bueno.
He arrancado desde la consola de cmd y sigue sin funcionar.
He comprobado la versión rails y es 2.2.2
La versión de las gemas es la 1.3.1
Y el rake routes me da esto:
Microsoft Windows [Versión 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. Reservados todos los
derechos.
C:\appserv\www>cd mytoy
C:\AppServ\www\mytoy>rake routes
(in C:/AppServ/www/mytoy)
users GET /:locale/users
{:controller=>“user
s”, :action=>“index”}
formatted_users GET /:locale/users.:format
{:controller=>“user
s”, :action=>“index”}
POST /:locale/users
{:controller=>“user
s”, :action=>“create”}
POST /:locale/users.:format
{:controller=>“user
s”, :action=>“create”}
new_user GET /:locale/users/new
{:controller=>“user
s”, :action=>“new”}
formatted_new_user GET /:locale/users/new.:format
{:controller=>“user
s”, :action=>“new”}
edit_user GET /:locale/users/:id/edit
{:controller=>“user
s”, :action=>“edit”}
formatted_edit_user GET /:locale/users/:id/edit.:format
{:controller=>“user
s”, :action=>“edit”}
user GET /:locale/users/:id
{:controller=>“user
s”, :action=>“show”}
formatted_user GET /:locale/users/:id.:format
{:controller=>“user
s”, :action=>“show”}
PUT /:locale/users/:id
{:controller=>“user
s”, :action=>“update”}
PUT /:locale/users/:id.:format
{:controller=>“user
s”, :action=>“update”}
DELETE /:locale/users/:id
{:controller=>“user
s”, :action=>“destroy”}
DELETE /:locale/users/:id.:format
{:controller=>“user
s”, :action=>“destroy”}
posts GET /:locale/posts
{:controller=>“post
s”, :action=>“index”}
formatted_posts GET /:locale/posts.:format
{:controller=>“post
s”, :action=>“index”}
POST /:locale/posts
{:controller=>“post
s”, :action=>“create”}
POST /:locale/posts.:format
{:controller=>“post
s”, :action=>“create”}
new_post GET /:locale/posts/new
{:controller=>“post
s”, :action=>“new”}
formatted_new_post GET /:locale/posts/new.:format
{:controller=>“post
s”, :action=>“new”}
edit_post GET /:locale/posts/:id/edit
{:controller=>“post
s”, :action=>“edit”}
formatted_edit_post GET /:locale/posts/:id/edit.:format
{:controller=>“post
s”, :action=>“edit”}
post GET /:locale/posts/:id
{:controller=>“post
s”, :action=>“show”}
formatted_post GET /:locale/posts/:id.:format
{:controller=>“post
s”, :action=>“show”}
PUT /:locale/posts/:id
{:controller=>“post
s”, :action=>“update”}
PUT /:locale/posts/:id.:format
{:controller=>“post
s”, :action=>“update”}
DELETE /:locale/posts/:id
{:controller=>“post
s”, :action=>“destroy”}
DELETE /:locale/posts/:id.:format
{:controller=>“post
s”, :action=>“destroy”}
page_index GET /:locale/page
{:controller=>"page
", :action=>“index”}
formatted_page_index GET /:locale/page.:format
{:controller=>"page
", :action=>“index”}
POST /:locale/page
{:controller=>"page
", :action=>“create”}
POST /:locale/page.:format
{:controller=>"page
", :action=>“create”}
new_page GET /:locale/page/new
{:controller=>"page
", :action=>“new”}
formatted_new_page GET /:locale/page/new.:format
{:controller=>"page
", :action=>“new”}
edit_page GET /:locale/page/:id/edit
{:controller=>"page
", :action=>“edit”}
formatted_edit_page GET /:locale/page/:id/edit.:format
{:controller=>"page
", :action=>“edit”}
page GET /:locale/page/:id
{:controller=>"page
", :action=>“show”}
formatted_page GET /:locale/page/:id.:format
{:controller=>"page
", :action=>“show”}
PUT /:locale/page/:id
{:controller=>"page
", :action=>“update”}
PUT /:locale/page/:id.:format
{:controller=>"page
", :action=>“update”}
DELETE /:locale/page/:id
{:controller=>"page
", :action=>“destroy”}
DELETE /:locale/page/:id.:format
{:controller=>"page
", :action=>“destroy”}
/:controller/:action/:id
/:controller/:action/:id.:format
root /:locale
{:controller=>"page
", :action=>“index”}
Me da la impresión de que está enrutando bien ¿no?
El 21 de febrero de 2009 11:50, Fernando [email protected] escribió: