on.code && such
About Book Reviews Categories Archives
  • Sandi Metz' Revised Rules

    Dec 11, 2013 • Ylan Segal • design

    I previously wrote about Sandi Metz’ proposed rules. I had the pleasure of hearing her talk about them last week at the monthly SDRuby meeting.

    Read on →

  • Ruby Block Precedence: An Rspec Gotcha

    Nov 1, 2013 • Ylan Segal • rspec, ruby, tdd

    Recently I came across a spec that didn’t seem to be executing the assertion block passed in to the raise_error expectation. Leaving the bare essentials for the example:

    Read on →

  • DelayedJob Workers Are Not Thread Safe

    Sep 11, 2013 • Ylan Segal • jruby, delayed_job, threading, most_popular

    I love DelayedJob. It’s my go-to-gem for background processing in Rails, mainly because it works with whatever data store your project already has in place. No need to bring a different dependency just for background processing. However, using Delayed::Worker in threads is problematic.

    Read on →

  • Exercism: Practice Your Coding Technique

    Aug 16, 2013 • Ylan Segal • ruby

    Perfect practice makes perfect

    Read on →

  • Conway's Game Of Life

    Jul 16, 2013 • Ylan Segal • ruby

    I recently read a blog post recently about Conway’s Game Of Life: Since I had not written an implementation myself, I decided to give it a go.

    Read on →

« Older Newer »

© 2012-2025 Ylan Segal - Terms of Service - Powered by Jekyll & whiteglass - Subscribe via RSS