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

  • Mongo Scout Plugins

    railstips.org 11 Feb '18, 6pm

    As I have stated before, Harmony is happily hosted with the fine folks at Railsmachine . They use and recommend Scout . While I have been quite happily using several scout plugins to keep track of Harmony, including the MongoDB Slow Query Plugin , I felt like a few things were missing...

  • Flipper Preloading

    railstips.org 08 Dec '16, 4pm

    Flipper is already pretty optimized for production usage (flipper does billions of feature checks a day at GitHub), but the latest release (0.10.2) just received a couple new ones — all thanks to community contributions. In jnunemaker/flipper#190 , @mscoutermarsh said: Hi, Would love ...

  • Flipping ActiveRecord

    railstips.org 23 Dec '15, 2am

    Originally, I did not like the idea of an ActiveRecord adapter for Flipper . I work on GitHub.com day to day, so everything I do has to be extremely performant. Using ActiveRecord for something like this felt like way too much overhead. In fact, at GitHub, we use a custom adapter for ...

  • 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
  • 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...

  • 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...

  • 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...

  • 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...


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