Hi All, I'm trying to test my rails app in IE8, so I've got WinXP in VMWare, but I've run into a problem.
The host is OSX, rails 3.1 app running in development mode, on pow. I checked the host IP and set up C:\WINDOWS\system32\drivers\etc\hosts to include it: 172.16.245.2 myapp.dev Then the http://myapp.dev login page loads properly in IE, but I can't log in. The log says: Started POST "/users/sign_in" for 127.0.0.1 at 2011-11-04 18:27:13 +0800 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"w0W3sQ83VJXt6QOSxhXpOsCkM94z6cAJoZ00LOMGKQw=", "user"=>{"email"=>"[email protected]", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} WARNING: Can't verify CSRF token authenticity MONGODB myapp_development['system.namespaces'].find({}) MONGODB myapp_development['users'].find({:email=>"[email protected]"}).sort([[:_id, :asc]]) MONGODB myapp_development['users'].update({"_id"=>BSON::ObjectId('4e1ece3f16e177210d000001')}, {"$set"=>{"last_sign_in_at"=>2011-11-04 07:50:58 UTC, "current_sign_in_at"=>2011-11-04 10:27:14 UTC, "sign_in_count"=>22, "updated_at"=>2011-11-04 10:27:14 UTC}}) R The same app, deployed to a remote server, can be accessed from the same IE8 without any problems. It seems like it might be something to do with the hostname not being the real hostname or some other pow/VM trickiness that causes the CSRF tokens be made in a broken way. I don't want to deploy remotely every time I make an adjustment, but I'm pretty stuck. Any ideas? Cheers, Chris -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
