Cucumber step argument transforms can be a powerful way to make your steps more flexible. Note however that if your...

First of all: You could just use RVM which would make the pain go away. If for some reason you...

When you load a record with find options that have SQL fragments in :select or :joins, ActiveRecord will make that...

Rails 3, 4, 5, 6 config/application.rb config/environment.rb before the initialize! call (we don't usually edit this file)

makandra dev

This may be awkward to set up, but will work once you're done. Fun facts:

makandra dev

Dir.glob(File.join RAILS_ROOT, 'app', 'models', '*.rb').collect{ |path| path[/.+\/(.+).rb/,1] }.collect(&:camelize).collect(&:constantize)

install apache sudo apt-get install ruby1.8-dev sudo gem install passenger sudo passenger-install-apache2-module follow the instructions

When you need to patch an existing gem, one way is to "vendor" the gem by copying it into the...

This can happen during development when classes without automatic reloading are pointing to classes with automatic reloading. E.g. some class...

web.archive.org

This note shows how to merge an ugly feature branch with multiple dirty WIP commits back into the master as...

jamesgolick.com

Trample is a more flexible load simulator. Instead of a static list of urls, trample's configuration language is ruby...

github.com

Helium accepts a list of URLs for different sections of a site then loads and parses each page to build...

Attached (see below) is some code to allow using unobtrusive JavaScript on pages fetched with an AJAX call.