I'm creating certificate requests with this command: openssl req -new -out www.example.com.csr -keyout www.example.com.key -newkey rsa:2048 -nodes
If you need to enable NewRelic monitoring on certain machines within the same Rails environment, a simple solution is to...
It is good programming practice to Don't Repeat Yourself (or DRY). In Ruby on Rails we keep our code...
Establishing a new SSH connection usually takes only a few seconds, but if you’re connecting to a server multiple...
So you client has asked you to implement a row of buttons to like the URL on Facebook, Twitter and...
Chrome extension that shows all info from your rails log (like parameters, response times, view rendering times, DB requests) inside...
The mysql2 gem in version 0.3.13 might break while compiling on older patch releases of Ruby 1.9.3 within rvm:
We sometimes send calender data or tasks using iCalendar (ICS) via eMail as specified in RFC 5545. Recently, a customer...
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...