http://stackoverflow.com/questions/12020303/rails-... Ci sto uscendo pazzo. Qualcuno ha una vaga idea? ngw -- [ 926381, 23200231779, 1299022, 1045307475 ].collect { |a| a.to_s( 36 ) }.join( " " ) Nicholas Wieland (ngw) ngw@nofeed.org http://nofeed.org
on 2012-08-19 18:09
on 2012-08-20 12:00
un po' di spunti e pensieri con ordine sparso :P
* in console, prova anche a generare una richesta http, qualcosa tipo:
app.get "/milano/milano/sports/tennis"
* quando dici che in "production" non funziona, significa invece che sul
webserver di "development" va tutto perfetto?
* hai provato ad inserire un constraint per il parametro :page? qualcosa
tipo:
get ':page', :to => 'sports#facilities', :constraints => {:page =>
/^\d/}
* prova anche a testare le rotte con rspec e/o Capybara, almeno eviti di
impazzire dietro alle prove in console :P
ciao,
A.
Il 19/08/2012 18:09, Nicholas Wieland ha scritto:
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.