Capybara: Taming the Hydrochoerus (with Poltergeist, database_cleaner and friends)
If you’re a Ruby or Rails developer looking for some advice on how to get better at integration testing: congratulations!…
Achieving Developer Excellence with Automated Testing
If you’re a Ruby or Rails developer looking for some advice on how to get better at integration testing: congratulations!…
def wait_for_ajax counter = 0 while page.evaluate_script(“typeof($) === ‘undefined'”) counter += 1 print “^” $stdout.flush sleep(0.1) raise “Jquery not initialized…
First, on Heroku, you’ll need to add a special buildpack to your slug: (note that all of the following commands…
I am pleased to announce the release of my gem nondestructive_migrations Version 1.1. Version 1.1 now supports Rails 4.0, 4.1,…
First you need to know how to connect to your Heroku application using bash. You can then use the du…
Now with full test coverage using MiniTest. Rubygems link: Appraisal to run my tests suite against several different versions of…
This is a useful little trick to get all the methods that you can call on any Ruby object. This…
If you happen to be bored today and want to read something funny,
Learned something on the Rails-talk list today that blew me away. You can install an older version of rails using…