Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

debprado's Profile

GitHub User: debprado

Comments by

Avatar

I've been using Slicehost for a few years

this articles helped me a lot: articles.slicehost.com

Avatar

Any tips on how to test the content of the pdf?

Avatar

I haven't been able to use VCR in tests with :js => true (capybara + selenium)

The first time I run the test it passes and the cassette is recorded.

However, when I use the cassette, the test fails with Unregistered request:

POST http://127.0.0.1:7055/hub/session/..... with body '{"url":"http://subdomain.myapp.com/settings"}'

The url is different every time.

I'm using nginx locally so I can use ssl, *.myapp.com is going to 127.0.0.1:3000, I've set Capybara server_port to on 3000 and Capybara.app_host = "subdomain.myapp.com". Is that what's messing things up?

Avatar

Same problem here. Have you figured this out?

Avatar

I'm not getting the port number in the url when firefox launches (only 127.0.0.1). Do I have to specify the port somewhere?