Transactions in Ruby on Rails and Atomic Bugs

A few examples of when using a transaction in Ruby on Rails doesn't work as expected.

More

Eager Loading Polymorphic Associations with Ruby on Rails

A tutorial on eager loading polymorphic associations with Ruby on Rails avoiding "n-plus-one" queries.

More

Automating Favicon Generation in Rails using Sketch

How to use rake, rails, convert and sketch to generate a favicon.

More

Building a Rack Web Server in Ruby

Managing sockets, handling HTTP parsing and generation, and integrating with Rack to build a simple web server from scratch.

More

Advanced Eager Loading in Rails

How to load 'N' records per parent record efficiently in Ruby on Rails

More

Mixins With Backbone Using CoffeeScript and JavaScript When Integrating With Rails

A quick introduction to using mixins with Backbone to extract out common code

More

Rails Concerns for URL and Path Helpers

Concerns offer a reusable way of sharing common code. This can be used to extract URL helpers.

More

Setup Free(ish) SSL/TLS on Heroku for Ruby on Rails (or Any Other Framework)

Configure SSL/TLS On Heroku Using a CDN

More

Faster Testing in Rails with Guard for Zeus, RSpec, and Cucumber

Two awesome tools for speeding up testing are Zeus and Guard. Setting them up allows for automatic execution of tests while coding.

More

Deploying Rails with JRuby to Heroku

Deploying JRuby on Heroku used to require custom build packs. Not any more. This guide will get any JRuby app up and running in no time.

More