Michael Joseph Kramer

because two names just isn't enough...

Escape Regular Expressions in Rails Migrations

March 10th, 2015

Rails migrations are great way to manage repeatable database changes across environments, but they’re not without their complications. Sometimes a regular old SQL statement is all you really need to do the job, but mixing the two sometimes doesn’t work so well.


Hide Files from Git without Using .gitignore

July 2nd, 2013

The last great unexplored region of git is the .git directory. Once you start to dig, however, you’ll find some interesting trinkets. One I’ve discovered lately is the ‘exclude’ file, which lets you hide files from git without anyone knowing about it.


The Simplified Fat Arrow Guide for CoffeeScript

March 12th, 2013

CoffeeScript introduces some fancy new operators and syntax enhancements, but one of the most misunderstood additions is the “fat arrow” (=>) operator. The JavaScript function keyword was replaced with the “thin arrow” (->), but the fat arrow serves as the function keyword and binds the function to the current context.


Simple CoffeeScript Comprehensions

February 1st, 2013

Even the most ardent CoffeeScript critic might have to admit that the language provides some syntax improvements. One of the most useful features is array comprehensions. Quite simply, a comprehension allows you to easily transform one list into another.