When your cucumber features grow massively over time, the test execution can take a lot of time.
Soon after having written our shell-for script, we wanted to easily get dumps of our productions machines, too. This...
After having written useful scripts into makandra notes for a long time, we’ve now tied them into a powerful...
Recent versions of the Faker gem retrieve their strings from your locale file (e.g. config/locale/de.yml). This leads to awesome errors...
Since May 2011 we are cutting new gems using Bundler, which is less painful than cutting gems using Jeweler. You...
This is an awful way to test whether a number is shown on the screen: Then I should see "5...
These steps are now part of Spreewald. Here are some useful examples how to use the attached Cucumber Timecop steps...
We regularly need to connect to the server in order to e.g. access the production console. Guessing the Capistrano deploy...
Although regular expression syntax is 99% interchangeable between languages, keep this in mind: By default, the dot character (".") does not...
We recently decided to put static content for HouseTrip.com to Amazon Cloudfront for a faster user experience. This happens fully...
Run rspec-and-cucumber from any project directory to run both RSpec and Cucumber. If available, rspec_spinner or cucumber...
Make sure you understand differences between git's areas (such as stash, workspace, upstream, etc.) and what commands affect which...
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...
You can seriously speed up deployments with Capistrano when using a local git repository on the server you are deploying...
When deploying an application with "cap deploy" by default [1] you only deploy your code but do not run migrations...
Airbrake (formerly Hoptoad) already ignores certain errors like InvalidAuthenticityToken by default (see Airbrake::Configuration::IGNORE_DEFAULT).\ To ignore additional classes...
The Edge Rider gem will define a method collect_ids on your ActiveRecord models, scopes, integer scalars and collections, which...
To display a list of your current Git remotes and their endpoints, you can say git remote -v
If you want to convert a README.rdoc file to HTML, say this from a shell: rdoc README.rdoc
Reading a URL via GET: curl http://example.com/ Defining any HTTP method (like POST or PUT): curl http://example.com/users/1...
User.active.to_sql Rails 2 Use either the Edge Rider or fake_arel gem to get #to_sql backported...
One of the thornier problems in our workflow is knowing when assets are delivered from the designer and keeping them...