Scott Davis

Background (tldr, how I did it next section)

I first built my personal site over 10 years ago. I didn’t know much about web development then (even if I thought I did), so at first I stuck to what I knew most, flash. Those were the days, an entirely animated site. It may have been hell to maintain, and even to use sometimes, but they sure were fun to build.

After flash went out of style, very quickly, I just wanted a simple site but one where I could add content without having to add

I’ve been working on a project recently called, and I added memcached caching with Dalli. So I’m basically trying to cache anything and everything that can help our performance.

Normally, you will see guides and articles show you caching with an example like this:

def cached_images
  Rails.cache.fetch(['Articles', id, 'images', updated_at.to_i]) do

And while this now works, if I eager load an association, it will not

When we started building EastMeetEast last August, Bootstrap 3 was still a release candidate. It didn’t seem to make very much sense to implement it on our production site when it may have bugs or be updated and changed frequently.

After just a few weeks of work, the official release of 3.0 came out. At that point, we were more concerned with getting the product up and out than now backtracking to

Heroku only uses Postres for databases. That’s fine, so you just need install it locally for developement. Well, you are probably pulling your hair out trying to install the pg gem on Mavericks. That’s because you can’t (as of yet anyway). The good news is there’s a quick and easy way.

Just install the Postgres App, then install the gem in terminal, pointing it to the new config file.

gem install pg -- --with-pg-config=/Applications/

Now, make

What Is A Flat File CMS?

…Says just about everyone… “It is kind of cool sounding.” “Is it related to flat design?” “Everything seems to be going flat these days.”

No, it’s not related at all to any flat design or flat anything else. A flat file CMS means that there is no database. Instead of retrieving content for a single page from a database, an actual html/php/text file is created with that content in