Capistrano 2 brings the shell command which allows you to run commands on your deployment targets. There is also invoke...
Exception notifications contain a lot of information: Backtraces, HTTP headers, etc. exception_notification tries its best to format this wall...
Using CSS sprites for background images is a technique for optimizing page load time by combining smaller images into a...
Similar to closing an opened browser window, spreewald now supports the I switch to the new browser tab step.
Next time you have to do more than trivial CSS changes on a project, you probably want to have live...
Connect to your memcached host. (AWS elasticache is memcached) telnet foohost23.cs2631.0001.euw1.cache.amazonaws.com 11211 Once you're connected, find out which 'slabs...
1. Saving files to a directory that is not shared between deploys or servers If you save your uploads to...
Here is a good explanation for zombie processes. Quote: If you have zombie processes it means those zombies have not...
Our development process makes us deploy very often. As the number of releases grows, junk clogs up the hard drive...
Note: These instructions are for a quick per-project setup and may require you to change code. If you generally...
Option 1: Creating a self-signed certificate with the openssl binary As igalic commented on this gist. openssl req -new...
ActiveRecord translations live in locale.activerecord. ActiveModel translations live in locale.activemodel. To use the same translations for both, use YAML references...
When HTTP clients make an request they can define which response formats they can process. They do it by adding...
Authentication is hard: there are many edge cases, and most users (including yourself) usually only go the "happy path" once...
We have often felt the pain where our models need to serve too many masters. E.g. we are adding a...
We ran into trouble when adding additional compute units to our railscomplete Hosting environment lately. VM-instances on the new...
Rails gives you migrations to change your database schema with simple commands like add_column or update. Unfortunately these commands...
Here is a hacky way to load dumps directly from the source server, without fully copying them over and extracting...
If you need to capture signatures on an IPad or similar device, you can use Thomas J Bradley's excellent...
You either have an old version of Mocha and an edge version of Rails 3.2, or you have a new...
Do not investigate in the 2342 tools that exist for migrating IMAP accounts from one server to another. They all...
We recently had a problem on a Memcache cluster, where one of the servers showed a significantly worse cache hit...
validates_uniqueness_of is not sufficient to ensure the uniqueness of a value. The reason for this is that in...
The attached article outlines considerations when choosing client-side vs. server-side implementations of the Google Geocoding APIs (geocoder, directions...