Tests are about 100% control over UI interaction and your test scenario. Randomness makes writing tests hard. You will also...

When you are working with Backbone models and inheritance, at some point you want to overwrite inherited methods but call...

blog.plenz.com

If you recorded a bad fix for a conflict, you can tell git to forget that bad resolution:

dev.housetrip.com

Introducing Trailer from HouseTrip, a simple menu bar app that helps you manage your GitHub pull requests. It’s one...

If you want to switch to another ruby versions, you have several options, depending on what you want: Do you...

coderwall.com

There seems to be no way to use therubyracer -v '0.11.4' and libv8 -v '3.11.8.17' on OS X Mavericks.

Rbenv won't compile REE 2011.03 properly on Ubuntu 12.04, failing with an error in tcmalloc.cc. If you want to...

makandra dev

We have released Modularity 2. It has many incompatible changes. See below for a script to migrate your applications automatically...

When you do something like this in your code: def var_value @var ||= some_expensive_calculation end

TLDR: This card explains which threads and processes interact with each other when you run a Selenium test with Capybara...

On recent/fresh installations of Ruby 1.8.7 you may encounter this error why calling any bundled binary (or just bundle exec...

An annoying part of using font icons is that the icons usually need to live in the DOM. This is...

In Ruby, classes and modules are called constants. This card explains how Ruby resolves the meaning of a constant.

CarrierWave attachments have two distinct methods #url and #path which appear to behave the same: document.file.url # => /storage/documents/4/letter.doc document.file.path # => /storage/documents/4/letter.doc

Modern IRB has time measurement built in. measure # Enable measure :off # Disable Custom Should your version of IRB not offer...

Assert rmagick provision ... Gemfile gem 'rmagick', '2.13.2' # at this moment the latest stable version config/initializer/carrierwave.rb require 'carrierwave/processing/rmagick' ... and define a...

What Rails version Within before_* Within after_* Cancel later callbacks Rails 1-4 return false return false Cancel later callbacks...

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

swapoff.org

I am using git at several places: at work, at university, and at home. I want an own git user/email...

makandra dev
github.com

It's mixins (modules) for Coffeescript classes. Other than most homegrown approaches, this one allows you to keep using super...

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