My Profile Photo

rubycoloredglasses


I'm Jason, a web applications developer in the San Francisco Bay area.


  1. Setting Rspec as the Default

    When setting up a new Rails application you’ll likely want to make Rspec the default test framework for new models that are generated with scaffolding. This is usually handled by default by the Rspec gem after you install it. It’s possible to explicitly set this however, as well as other configurations for generators. …


  2. Remote Pair Programming

    I really find pair programming to be annoying. It seems like a waste of time as compared to doing peer code review over a Git branch that has been squashed. But I really can’t knock something totally unless I’ve tried it for a while. …


  3. Languages Supported by Github Flavored Markdown

    I’m currently configuring the Yard documentation tool for use with Ruby/Rails projects. I could see that it’s possible to create a .yardopts file in the main directory for your Rails application, and simply add command line arguments to the file. …


  4. Coding Games

    A few weeks ago I heard about this FightCode website that lets you program robots that compete against other coders who code their own robots. It uses Javascript, so it should be accessible to many web developers. They even have a Facebook page you can like. …


  5. Customize your IRB

    Stephen Ball of RakeRoutes.com has a cool post on how to customize your IRB environment. …


  6. htaccess tester

    I’m not sure how one would use this, but it looks like it’s supposed to be useful. …


  7. Using Find Each to Process Batches

    I just found out that there is a find_each method provided by ActiveRecord which loops through an array of models that are retrieved in batches of 1000 at a time. …


  8. Development Time

    It seems common that development tasks or projects take much more time than expected. My manager recently pointed these out to me: …


  9. Minecraft Mods

    I’ve been playing Minecraft for a little while now. Want to see what else this thing can do, so I want to get access to console commands. This is a challenge it seems, so I’m going to document how it’s done here. …


  10. Obtain MySQL Query Statistics using Explain

    Sometimes it really counts to restructure the queries made to your MySQL database, especially so that they do make use of indexes which are present on the table. …