1. Let's hash this out.

    Ruby hashes are wonderfully versatile. You can store any kind of object using any kind of key and do all sorts of wacky and magical things. Hashes bring joy. Odes have been written to the wonderful “hashrocket” (Ruby’s affectionate name for the => operator).
    Time An icon of a clock Publish Date
    October 15, 2019
    Person An icon of a human figure Authors
    Steve Jackson
    Category An icon of a paper organzier Categories
    Ruby
  2. 3 keys to upgrading Rails

    The recent release of Rails 6 means Rails 4.2 will no longer receive any further updates—including critical security patches. It also means that a lot of teams are suddenly quite motivated to figure out how to pull off a major upgrade (or two; or three) with minimal risk of failure or disruption to feature development.
    Time An icon of a clock Publish Date
    September 3, 2019
    Person An icon of a human figure Authors
    Kevin Solorio
    Category An icon of a paper organzier Categories
    Ruby
  3. Enumerate your enums.

    Some people say “e-noom”. Others say “e-numb”. But for some reason, Rails calls its enums “integer”. That decision—dating back to the feature’s introduction in Rails 4.1—has caused no end of problems for developers and teams that aren’t hyper-vigilant about managing the impedance mismatch between ActiveRecord objects that marshal enum attributes as strings and the underlying database schema that represents enum columns as integers.
    Time An icon of a clock Publish Date
    June 3, 2019
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    Ruby
  4. Do we need dependency injection in Ruby?

    Let’s start this with a quick example. You’re selling clothes, and your Shirt class looks something like this: # In real life, these two classes/methods would call an API or something # Let's ignore those details though :) class Inventory def self.
    Time An icon of a clock Publish Date
    May 17, 2018
    Person An icon of a human figure Authors
    Kevin Baribeau
    Category An icon of a paper organzier Categories
    Ruby
  5. Music Cards

    Music Cards Our family loves music. We almost always have some sort of music going on in the background at our house. We have a number of Sonos speakers and subscriptions to the major music providers, giving us a lot of flexibility in what to listen to and where.
    Time An icon of a clock Publish Date
    February 20, 2018
    Person An icon of a human figure Authors
    Adam Lukens
    Category An icon of a paper organzier Categories
    Development
    Ruby
  6. Rake without Rails.

    A lot of ink has been spilled over how to get “real” unit tests working in Ruby on Rails projects. The first time I encountered it was when Gary Bernhardt and Corey Haines started the “fast specs” meme.
    Time An icon of a clock Publish Date
    December 15, 2016
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    Ruby
  7. Keep Ruby Weird Again.

    Time An icon of a clock Publish Date
    October 31, 2016
    Person An icon of a human figure Authors
    M
    Category An icon of a paper organzier Categories
    Ruby

Search An icon of a magnifying glass Search the Blog

Person An icon of a human figure Featured Authors