Monthly Archives: January 2012

Leveraging the Ruby language for code readability

Recently, I created a rake task to load dummy data into a Rails app. I wanted the data to be somewhat random to make it easier to spot design issues depending on data being filled in or left blank. But … Continue reading

Posted in Ruby | Comments Off

Rake tasks, arguments, and external scripts

I’ve previously covered how to use an external script from within a Rake task. This time, we want to be able to pass an optional argument to our task, that will be used within our external script, too.

Posted in Automation, Rails | Comments Off

First steps with Popcorn.js

Mozilla’s Popcorn.js enables developers to manipulate content in relation to a video: display/hide elements, manipulate a timeline, or simply execute arbitrary code. The advantage this technique has over simply timing the triggered events, is that it is fully synchornized with … Continue reading

Posted in Uncategorized | Comments Off