Exception notifications contain a lot of information: Backtraces, HTTP headers, etc. exception_notification tries its best to format this wall...
The new exception_notification has awesome options like :ignore_crawlers => true and :ignore_if => lambda {...
...}. These options should be helpful...
We tend to use database transactions as a magic bullet to get rid of all our concurrency problems. When things...
Sometimes in the course of development you may need to mock HTTP responses. This is a simple service to return...
Most people don’t schedule their work. They schedule the interruptions that prevent their work from happening.
Consul 0.9 comes with many new features to optimize powers that only check access to a given record. e.g. Power.current.post...
For websites that don't do JavaScript rendering on the client, it's best practice to put script tags at...
One reason programmers dislike meetings so much is that they're on a different type of schedule from other people...
The linked page lists and explains global Ruby "dollar" variables, such as: $: (load path) $* (ARGV) $? (Last exit status) $$ (PID)
The cookies object in your controllers and views is a ActionController::CookieJar and even though that class inherits from Hash...
$RANDOM on bash returns a random integer between 0 and 32767. echo $RANDOM 9816 echo $RANDOM 30922
Using CSS sprites for background images is a technique for optimizing page load time by combining smaller images into a...
Next time you have to do more than trivial CSS changes on a project, you probably want to have live...
Did you know you can do in-place batch processing with plain ruby? The following script will in-place replace...
Set the hash to a dummy hash which doesn't hit any id at your page, for example: window.location.hash = "_";
Remember why preloading associations "randomly" uses joined tables or multiple queries? If you don't like the cleverness of this...
A great and enjoyable introduction into the concept of the web and about what HTTP was designed for. The original...
1. Saving files to a directory that is not shared between deploys or servers If you save your uploads to...
Rails 4.0 is finally ready after a thorough process of betas and release candidates. It's an amazing new version...
This card shows how to upgrade a Rails 2 application from Rails 2.3.8 through every single patch level up to...
Active Record's select method allows you to make use of the power of MySQL select statements. On the one...
Here is a good explanation for zombie processes. Quote: If you have zombie processes it means those zombies have not...
The Rails secret_token must be unique for each application and any instance of it. If not, someone could exploit...
ActionMailer per default uses http as protocol, which enables SSL-stripping. When a logged-in user follows an http link...