Beware ActiveRecord callbacks
ActiveRecord is a fantastically well-made ORM that makes working with databases a breeze, but one feature in the callback structure is incredibly bug-prone.
July 17, 2014 • 2 min read
ActiveRecord is a fantastically well-made ORM that makes working with databases a breeze, but one feature in the callback structure is incredibly bug-prone.
July 17, 2014 • 2 min read
Computers have made an undeniably permanent mark on the world, but their success wasn't gained overnight. They slowly improved what they could do, leading to...
July 10, 2014 • 9 min read
Ruby on Rails and jQuery team up to allow your visitors to scroll through all your content without initially loading them all.
June 16, 2014 • 2 min read
Google Analytics is normally used to track a website’s visitors and pageviews, but it can also track specific users, which can be invaluable information as y...
May 29, 2014 • 2 min read
Amazon’s S3 makes storing files easy but viewing directories isn’t intuitive. Let me explain how you can emulate a file structure using Plain-Old-Ruby-Objects.
April 16, 2014 • 2 min read
How to create toggle buttons using Ruby on Rails, ajax, and unobtrusive javascript. Straight-forward and boring, just how I like it.
April 16, 2014 • 2 min read
When your application interacts with the web a lot can go wrong. Working with Ruby on Rails over the last five years, I’ve seen a lot of them first hand, and...
March 15, 2012 • 4 min read
The issues and solutions to making your application’s handling of user parameters secure by default, before Ruby on Rails offered an out-of-the-box solution.
March 14, 2012 • 3 min read