This is an awful way to test whether a number is shown on the screen: Then I should see "5...
Install FreeBSD Download a suitable image from this site Select File > New… to and follow the instructions, choose the .iso...
Capybara allows you to select DOM elements, e.g. by using field, find_field(...) or field_labeled(...): role_select = field_labeled...
These steps are now part of Spreewald. Here are some useful examples how to use the attached Cucumber Timecop steps...
Asset pipeline, HTTP streaming, jQuery as default framework, auto-reversable migrations, identity map for ActiveRecord. Ruby 1.8.x support will...
passenger-install-apache2-module --auto
Today I needed to execute a ruby gem executable with sudo. But, surprisingly, bash would tell me command not found...
Before installing chef, make sure curl is installed and sudo finds your gems setup chef-client: follow this guide
Sometimes PDF cucumber tests fail at the first test run and succeed at the second run. You can fix this...
We regularly need to connect to the server in order to e.g. access the production console. Guessing the Capistrano deploy...
Internet Explorer 5+ is aware of conditional comments that let you target HTML for selected versions of IE. For example...
When you simply want to get to know Puppet, follow puppetlabs’ Learning Puppet Docs. They give you a handy introduction...
We recently decided to put static content for HouseTrip.com to Amazon Cloudfront for a faster user experience. This happens fully...
You know that you can collect an array as groups using in_groups or in_groups_of. Maybe you want...
Install Ubuntu Server Download an image from this site Select File > New… to and follow the instructions, choose the .iso...
Run rspec-and-cucumber from any project directory to run both RSpec and Cucumber. If available, rspec_spinner or cucumber...
To set the hostname of your Mac, run the following command in Terminal: sudo scutil --set HostName my-new-hostname.local
When you want to quickly boot from a drive or image in a virtual machine you do not need to...
If you want to play music or sounds from a browser, your choice is to use either Flash or the...
Whenever is a Ruby gem that provides a clear syntax for writing and deploying cron jobs.
Validations that need to access an associated object may lead to some trouble. Let's exemplify that using this example...
We often have a separate production branch that lags a bit behind the more cutting edge main branch. Sometimes you...
Occasionally you need to do something directly on the server -- like having all records recalculate something that cannot be done...
You can seriously speed up deployments with Capistrano when using a local git repository on the server you are deploying...