How to Use Custom Fonts in Rails 4

So I wanted to use the sweet Whitney font in one of my Rails applications. Luckily I had the web font files and proceeded to go on to see how to do this in Rails. Unfortunately, there's nothing out there that explains how to do this correctly. Rest assured that…

Where Good Ideas Come From

If you've built a gazillion stuff like me, you'll notice a trend of functionality that you find yourself building over and over again. Perhaps it's time to abstract that away into a separate product or service that many of your projects can end up using. Improve it and you'll improve…

Mute Specific Deprecation Messages in Rails

So when you're fully aware that something is going to be deprecated in Rails in the next release but it's clogging up your stdout when running your specs, you can mute that specific deprecation message by creating an initializer with module ActiveSupport class Deprecation module Reporting # Mute specific deprecation messages…

Sublime Text Plugin - Toggle RSpec Focus

In RSpec, you're able to :focus to test a specific example. Actually, you'll find yourself using this quite often, almost to the brink of extinction. I've open sourced a Sublime Text plugin that allows you easily toggle this. Feedback welcome :)…