Home // RailsTips by John Nunemaker

lmao if you don't make it easy for users of your library to log, measure and graph everything. October 10, 2012. Posted by John. Booleans are Baaaaaaaaaad.

Link: railstips.org

  • Home

    railstips.org 05 Mar '15, 10pm

    February 24, 2014 Posted by John Of Late In which I link to a new place where I’ll be writing. April 18, 2013 Posted by John Let Nunes Do It In which I release Nunes to a soon-to-be-more-instrumented world. January 23, 2013 Posted by John An Instrumented Library in ~30 Lines lmao if y...

  • Of Late

    railstips.org 24 Feb '14, 7pm

    A lot has changed over the years. I now do a lot more than just rails and having railstips as my domain seems to mentally put me in a corner. As such, I have revived johnnunemaker.com . While I may still post a rails topic here once in a while, I’ll be posting a lot more varied topics...

  • Four Guidelines That I Feel Have Improved My Code

    railstips.org 05 Jul '12, 7pm

    I have been thinking a lot about isolation, dependencies and clean code of late. I know there is a lot of disagreement with people vehemently standing in both camps. I certainly will not say either side is right or wrong, but what follows is what I feel has improved my code. I post it...

    1. How I Learned To Code rubyflow.com 06 Jul '12, 12am
  • Let Nunes Do It

    railstips.org 18 Apr '13, 8pm

    In a moment of either genius or delirium I decided to name my newest project after myself. Why? Well, here is the story whether you want to know or not. Why Nunes? Naming is always the hardest part of a project. Originally, it was named Railsd. The idea of the gem is automatically sub...

  • Canable: The Flesh Eating Permission System

    railstips.org 09 May '14, 1pm

    @Jamie – 1) The main reason everything is an instance method is because anytime I have dealt with permissions, it always comes down to the object. Can the user do something to this object, which automatically leads to instance methods rather than class methods. Typically the view stuf...

  • lmao if you don’t make it easy for users of your library to log, measure, and graph everything.

    An Instrumented Library in ~30 Lines

    railstips.org 23 Jan '13, 8pm

    For the first time ever, I am going to lead with the end of the story. Here is the full ~30 lines that I will break down in detail during the rest of this post. require 'forwardable' module Foo module Instrumenters class Noop def self.instrument(name, payload = {}) yield payload if bl...

  • Booleans are Baaaaaaaaaad

    railstips.org 04 Apr '14, 5pm

    It absolutely is over-engineering when you replace a 1-bit flag with a gem that needs to be source-controlled, included and tested on updates. That’s the definition of over-engineering. There are a few issues with this post. 1) the title is just wrong. I know it’s tongue-in-cheek, but...

  • The long post about Kestrel and queueing tracks in @gaugesapp: /cc @robey

    Misleading Title About Queueing // RailsTips by John Nunemaker

    railstips.org 05 Mar '12, 6pm

    March 05, 2012 Posted by John Tagged gauges and kestrel Older: More Tiny Classes Misleading Title About Queueing I don’t know about you, but I find it super frustrating when people blog about cool stuff at the beginning of a project, but then as it grows, they either don’t take the ti...


Ruby Inside: The Ruby Blog
Ruby Quicktips
Harmony Website Management
RailsCasts: Ruby on Rails Screencasts
Ordered List
Rails Envy