This error occurs when you already have a database.yml which defines the database for the cucumber environment instead of test...
Say you have a User with a Carrierwave attribute #avatar: class User < ActiveRecord::Base mount_uploader :avatar, AvatarUploader end
Rubymine supports keybinding to switch panes by hotkey like awesome window manager users are used to. Type "splitter" in the...
When you want to find out the data type of an attribute, you can just use ActiveRecord's columns_hash...
I've written about the problem with user stories before. At the time, I found it better to just have...
The mobile-friendly, responsive, and lightweight jQuery date & time input picker. Does not depend on jQuery UI, but currently does...
Ruby publishes security issues and MRI updates on ruby-lang.org. Unfortunately there is no straight-forward way to subscribe to these...
Rack::Attack is a rack middleware to protect your web app from bad clients. It allows whitelisting, blacklisting, throttling, and...
FastClick is a simple, easy-to-use library for eliminating the 300ms delay between a physical tap and the firing...
If you get a Quota error with OpenStack, it doesn't have to be what it tell. For example, I...
A clever way to have inline labels ("placeholders") that don't disappear when the user enters text.
Sometimes you need to monitor a connection from your machine to a specific, single host or network in order to...
Use protocol independent URLs whenever possible so that the browser will choose the protocol related to the protocol which the...
When I upgraded from 0.5.4 PDFKit deadlocked or crashed when an ApplicationController::RouteError occured. If this error happens only because...
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...
Font Combiner offers a way to tweak and adjust any TTF or OTF font (license permitting), by bringing in font...
I am using git at several places: at work, at university, and at home. I want an own git user/email...
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...