Technology 21

Archive Gems Ruby on Rails

TechnologyRuby on Rails

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

Technology

The Past, Present, and Future of Computers

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

TechnologyRuby on Rails

Infinite Scrolling with AJAX archived

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

TechnologyRuby on Rails

Finding Your Most Active Users

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

TechnologyRuby on Rails

Browsing Files & Directories in S3

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

TechnologyRuby on Rails

Ajax Toggle Buttons archived

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

TechnologyRuby on Rails

The Tricky World of Using Web APIs archived

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

TechnologyRuby on RailsGems

Protecting Yourself from Malicious params archived

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

That’s all the writing. Back to the homepage

Dan Cunning

Dan Cunning

Ruby on Rails contractor from Atlanta GA, focusing on simplicity and usability through solid design.