· Jerod Santo ·

+ Archives Contact Search

Page 5

The Curious Case of ActiveRecord Matching Yesterday's Events Even Though I Told it Not To

19 Feb 2013

We uncovered a Strange Thing when working on Omahype's event listings.

CLOC Counts Lines of Code

12 Feb 2013

If you ever find yourself in a foreign code base and want to get a quick overview of how much code is in it, cloc is just the tool for the job.

A Casual Stroll Through Discourse's Source Code

11 Feb 2013

Any time I see an open source app which has technically intriguing bits, I take some time to clone it and give it a quick read-through. Let's do that!

Rate Limit POST Requests with Rack::Throttle

03 Feb 2013

Rack::Throttle is an awesome piece of middleware for rate limiting your app's clients. You can easily extend it to apply any rules you need, such as only limiting certain request types.

Fix Rails-API Oauth2 CSRF Errors On Rails 3.2.9+

01 Feb 2013

The fix to this obscure and nuanced bug after upgrading my Rails-API app to 3.2.11 is worth noting for others.

Configuring redis-store / redis-rails on Heroku

23 Jan 2013

redis-store's redis-rails is awesome, but it can be a pain in the buttox to get configured on Heroku. Herein lies buttox relief.

Dynamic Routes to Static Pages on Rails

07 Jan 2013

There's one thing that almost every web app and web site needs: static pages

Top Hacker News Content of 2012

31 Dec 2012

Judofyr's excellent collection of Hacker News threads with book recommendations made me want to see all of the best HN threads this year.

Beloved Bits, 2012

27 Dec 2012

My second annual list-of-things-that-I-deem-notable-in-the-year-which-is-about-to-conclude.

A Handy Method to Share Data From Rails Controllers to Views Without Requiring Direct Instance Variable Access

18 Dec 2012

Rails' method of sharing data between controllers and views via instance variables bothers many developers, myself included. Here's a handy method you can use to avoid this in your apps.