RailsCasts Pro episodes are now free!

Learn more or hide this

fschwahn's Profile

GitHub User: fschwahn

Comments by

Avatar

To quote the capybara README you linked: "Capybara's Rspec matchers, however, are smart enough to handle either form." That means that should have_no_content and should_not have_content are functionally equivalent.

But thanks for pointing that out, I didn't even know there was a difference.

Avatar

Most rails applications have more dependencies, like a sphinx server for example. How would you go about launching these (e.g. in case of a server restart)?
Can something like Foreman be used for this task?

Avatar

The capistrano recipe symlinks it to /etc/nginx/sites-enabled/

Avatar

I guess it makes sense to take precautions if the webservice you are using is down.
Is it possible to automatically re-queue the job if it fails because it cannot reach the webservice?