RailsCasts Pro episodes are now free!

Learn more or hide this

Alexandru Vladutu's Profile

GitHub User: alessioalex

Site: http://alessio.no.de/

Comments by Alexandru Vladutu

Avatar

Tried to upgrade my blog from 3.0.9 to 3.0.10 and 3.1.0 like you did in the tutorial but I got the most stupid error ever with no proper message, so I have no idea whatsoever of what's going on:

Started GET "/admin" for 127.0.0.1 at 2011-10-10 12:28:33 +0300

ArgumentError (wrong number of arguments (3 for 2)):

Rendered c:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered c:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered c:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.0ms)

Help?

Avatar

I can confirm what tatumszymczak said. It doesn't work for other ips in the network, be them PCs or mobile phones (HTC Desire for example).
I have changed from localhost to my network ip, so it should be working.

@Ryan Bates can you look into that man? Thanks

Edit: Nevermind, I discovered what the error was. I forgot to change localhost in the file application.html.erb (layouts) too. Hope that helps you folks :)