04 Nov

Learn Ruby on Rails

Introduction So you want to learn how to program Ruby on Rails, the most common language used by tech start-ups? Well I’m only a few months ahead of you, and with my first project mostly complete Innoblue’s new website, I’m ready to share my insights on how to get starte...

04 Nov

Remap capslock to Alfred

If you are an avid user of Alfred, Quicksilver, or just using spotlight to open applications you know that hot keys are critical to increasing productivity. Well personally I started running out of hot keys so I decided with a little help from Chris Maddox to change my caps lock key to active al...

04 Nov

Cheating Heroku's initial page load

If you have deployed a lot of applications to Heroku you may have noticed that on the first page load of your site it takes an EXTREMELY long time to load your page. This is consistent whether you are the first person to hit your domain today, tomorrow or next week. So why is this? Well when you...

06 Jan

The Importance of Memoization

Today i was working on a basic project where I was trying to normalize the data coming from a YAML file, more particularly the Makes and Models of cars. Before I wanted to let ActiveRecord do anything I first wanted to throw away models that didn't have their corresponding make: Now I h...

05 Jun

Zeus is Awesome.

I may be a little late to the game here, but I recently discovered Zeus and since then my mind has been blown. @LivingSocial I was always trying to find ways to make my tests faster and faster. Having such a large monolithic rails app it became increasingly slower and slower to boot your rails...

26 Mar

Heroku & Resque in Harmony

Heroku's background job mechanism is built to work out of the box with Delayed Job. This is great until you need a little more flexibility and want to harness the power of Redis.  In order to use Redis on Heroku you need to install the plugin "Redis To Go" This will allow you to u...

08 Nov

Log just Rails queries

While working in the deals application at LivingSocial and using Rails 2.3, or any project for that matter it became extremely difficult for me to see the queries that a single page load generated. We have all seen it, requests contain information like the paramaters posted, the controller lo...

05 Nov

Dead Simple Authentication

When I say dead simple authentication, i mean dead freaking simple... When rebuilding my site i mostly just wanted to give a face lift and move away from Tumblr. At first I thought, I'll just create posts in a text editor and then copy and paste them into the console. Can't be too bad righ...

04 Nov

defined? vs memoization

Last week I was reading through a method a colleague wrote and it looked something like this:  Now this really confused me. Why would you ever be so verbose and use a method like defined? when you could simply just use ruby memoization, and write something like this:  After some...

Mike Silvis

Mikesilvis