Join Newsletter


Share with:

Recent Posts

Jason Fleetwood-Boldt

1. deivid-rodriguez/byebug Byebug is a fantastic debugger available for Ruby 2 (and presumably above). Drop gem 'byebug' into your Rails app Gemfile and bundle install. In either your test run or your development run, write byebug on a single line of your app and voila. When...

Read More

After many years, I decided that my gem nondestructive migrations needed a facelift. It had some cruft I didn't want, was packaged in the wrong way, and Alex Chaffee brought up a legitimate objection to the nuance of its name: the discriminating factor that differentiates...

Read More

Although Heroku has put a lot of attention into their own Postgres-based datbase architecture, Heroku Data, this article still works for rebels who want to use Amazon RDS on Heroku: Note that I can't seem to get "sslca" to work as a config option in my...

Read More

I am pleased to announce Version 1.3 of my gem nondestructive_migrations. With this update, nondestructive_migrations is ready for Rails 5.1. The Gem's Github page can be found here: and you'll find a sample app for Rails 5.1 here. Version 1.3 is officially pushed to Rubygems as of...

Read More

1. Create an ErrorsController in app/controllers class ErrorsController < ApplicationController  def not_found   respond_to do |format|    format.html { render template: "errors/not_found",               layout: "layouts/application",               status: 404 }   end  end  def server_error   respond_to do |format|    format.html { render template: "errors/server_error",               layout: "layouts/application",               status: 500 }   end  end end 2. Add these to your routes.rb file match "/404", :to => "errors#not_found", :via =>...

Read More

Today I’ll take a moment to expound on how web development has changed over the last two decades. Long ago, when we started back in the 90s, connections were slow and web pages didn’t change much.

In the design of the internet itself is something you should be familiar with if you are reading this post: browser caching.