Ubuntu 12.04 LTS x64, Ruby 1.8.7, Rails 2.13, PDFKit 0.5.4, Phusion Passenger Apache 2 I ran into this, when I...
I am using git at several places: at work, at university, and at home. I want an own git user/email...
A DSL for handling method_missing hooks.
Usually our mysql queries are not case sensitive. In order to query case sensitive, you can use the mysql COLLATE...
After reading, you will know why and how runners.each(&:run) works. Here some tidbits: & can be quite confusing because it...
Font Awesome 4 has renamed all icons. What the fuck. Check the attached link for an icon list for the...
Awesome Sass plugin to experiment with Subtle Patterns based textures. It automatically removes the base color from the pattern, leaving...
I recently created a survey asking fellow designers about the problems they faced when creating fully responsive sites. This article...
It's mixins (modules) for Coffeescript classes. Other than most homegrown approaches, this one allows you to keep using super...
Whenever you create a table from a database migration, remember to add updated_at and created_at timestamps to that...
A snippet of the carrierwave documentation You might come to a situation where you want to retroactively change a version...
Today I ran into trouble installing therubyracer on Ruby 1.8. The installation failed with *** extconf.rb failed *** Could not create Makefile...
Search engines, such as Google and Bing are engineered to crawl static web pages, not javascript-heavy, client-side apps...
We proudly release our safe_cookies middleware into public beta and just published it on Github. Features are:
Motion is quickly becoming one of the most important emerging techniques in building a quality user experience on the web...
Advice for address forms that work with address structures from multiple countries.
If you need to enable NewRelic monitoring on certain machines within the same Rails environment, a simple solution is to...
Ubuntu has a package mysql-sandbox that lets you install multiple MySQL versions into your user home: Install mysql-sandbox...
When you build a link for an email body like this body = "Please click the following link" body << "http://posts/130...
Rails has always included a scaffold script that generates a default controller implementation for you. Unfortunately that generated controller is...
You're better off using debugger-ruby_core_source: gem install debugger-ruby_core_source If you can't do...
It is good programming practice to Don't Repeat Yourself (or DRY). In Ruby on Rails we keep our code...
Geordi 0.16+ supports running selenium tests with project-specific firefox versions. Just update the gem. It will still default to...
Establishing a new SSH connection usually takes only a few seconds, but if you’re connecting to a server multiple...