When adding a new field to your model's database table, don't set any defaults in the database.

Oniguruma is an advanced regular expression engine for Ruby. Install Oniguruma with binary dependencies like this: sudo apt-get install...

In case you have sensitive data within your RDS instance, you want to use encrypted connections between your application and...

awsdocs.s3.amazonaws.com

There is a new card about how to do this with the new AWS Command Line Interface

If Rails or Rake are complaining about a missing gem that is listed in your Gemfile.lock and the listed version...

We are consistently having trouble with selenium-webdriver > 2.5.0 where whenever we try to select an option from a Capybara...

stackoverflow.com

Most likely you run rake and your code is causing an exception which is not the one shown in your...

The state_machine gem comes with a rake task that lets you generate PNG graphs from any model using state...

Whenever Firefox updates, all your Cucumber features that use Selenium break. This is annoying. In order to remedy this, version...

There are many blog posts on encrypting backups, but none works for local drives. #How to Encrypt the external backup...

I believe that when WEBrick has trouble bringing up your Rails application, the WEBrick component that is supposed to print...

After updating Rubygems you see a wall of deprecation warnings like this: NOTE: Gem::SourceIndex#add_spec is deprecated, use...

When the Ruby parser module of Ruby-GetText comes across a file in one of its search directories (e.g. lib/scripts...

If you use Amazon AWS cloud services you definitively want to utilize software raid for IO intensive stuff such as...

Date::Performance is a gem that replaces various method in Ruby's Date class with fast C implementations. Unfortunately it...

Attached is a working config to deploy an application with Capistrano that needs to monitor Resque workers with God.

When you need to create a locale for a language variant (like Austrian for German), you probably don't want...

github.com

When you need to use diff in either some Ruby code or your Rails app, use the differ gem.

makandra dev
web.archive.org

When you need to zip up files in Ruby, use zipruby. sudo gem install zipruby You can add existing files...

This is now part of geordi. Please don't follow the instructions below, if you use geordi. Inspired by the...

Note: While the solution in this card should still work, we prefer another solution now: Hide your Selenium browser window...

Note: If you are currently working with Ruby 1.8.7 or 1.9.3, we recommend to upgrade to Ruby 2.1 first. From...

We usually generate our commit messages from Pivotal Tracker IDs and titles, like [#15775609] Index view for conflicts

API breakage ahoy. You need to either upgrade your Capybara or downgrade your selenium-webdriver gem. Alternatively, this could solve...