stackoverflow.com

Before Rails 3.2.14, when supplying an invalid locale to I18n, it would fall back to its config.i18n.default_locale (which is...

If you're still working on ruby 1.8, you should know that using SimpleDelegator is often prohibitively slow. I have...

This error occurs when you already have a database.yml which defines the database for the cucumber environment instead of test...

stackoverflow.com

When you want to find out the data type of an attribute, you can just use ActiveRecord's columns_hash...

alanklement.blogspot.de

I've written about the problem with user stories before. At the time, I found it better to just have...

If you get a Quota error with OpenStack, it doesn't have to be what it tell. For example, I...

fontawesome.io

Font Awesome 4 has renamed all icons. What the fuck. Check the attached link for an icon list for the...

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...

Install and configure the AWS Command Line Interface Show existing certificates to test if the AWS Cli is working:

If you need to enable NewRelic monitoring on certain machines within the same Rails environment, a simple solution is to...

Rails has always included a scaffold script that generates a default controller implementation for you. Unfortunately that generated controller is...

It is good programming practice to Don't Repeat Yourself (or DRY). In Ruby on Rails we keep our code...

So you client has asked you to implement a row of buttons to like the URL on Facebook, Twitter and...

When writing Rails migrations to convert a string column to an integer you'd usually say: change_column :table_name...

I recently experienced the error ActiveRecord::StatementInvalid: Mysql2::Error: closed MySQL connection. Apparently this happens when there is a timeout...

There may be reasons to change the locale of your Postgres cluster. A popular one is your development system's...

Working with lists in Javascript is painful because the native Array class is so poorly designed. One way to reduce...

makandra dev
docs.google.com

Presentation about awesome changes we can look forward to.

So you're switching to PostgreSQL from MySQL? Here is some help... General hints on PostgreSQL \? opens the command overview...

makandra dev

For all late night coders: The program "redshift" changes your monitors' white balance according to your position on the planet...

We sometimes send calender data or tasks using iCalendar (ICS) via eMail as specified in RFC 5545. Recently, a customer...

In contrast to RSpec's included allow_value matcher, the attached matcher will also work on associations, which makes it...

bundler.io

bundle open BUNDLED_GEM will open the BUNDLED_GEM's source code in your default editor.