<script src="//cdn.optimizely.com/js/187642160.js"></script>


Ruby on Rails

QR Barcode Generation with Ruby

Barcodes are the all-important middlemen of the modern retail experience, yet they remain almost completely invisible to consumers. Of course, the moment the flow breaks down and the code becomes unscannable, both purchaser and cashier quickly decide the whole thing is annoying and obsolete. Nevertheless, barcodes are invaluable for passing around information. Although we usually associate them with products, they c
Read More

Continuous Integration on Multiple Ruby Versions with RVM and Hudson

NOTICE: We’ve run into some snags still with the hudson daemon recognizing the proper environment vars.  We are working on some solutions after speaking with Wayne Seguin, and we’ll keep you updated.  So basically, the following is possibly interesting, but not yet entirely correctly implemented. We’ve recently moved to Ruby 1.9.1 on a current Rails project. Since we’re still working on other
Read More

Upgrading Rails Applications – Some things to keep in mind!

So we just went through this humongous (believe me!) effort of upgrading the technical platform for one of our existing Rails applications that was running Rails 2.1, Ruby 1.7 and Mongrel cluster. The goal was to upgrade to Rails 2.3, Enterprise Ruby 1.8.6 and Passenger. It all started out as well as you would think. Updating the Rails gem, Ruby version, installing/configuring Passenger and updating relevant gems was
Read More

A Pair of Kings Beats A Single Ace: Pair Programming, Agile Rails, and You

A lot of pair programming chatter this week. Starting with a New York times article describing pair programming at Hashrocket. It’s an interesting article, with a tone that could be described as “anthropologist describing the strange, yet quaint customs of the native tribe” Obie Fernandez followed up with a list of 10 reasons why pairing doesn’t work in most cases. It’s actually a list o
Read More

Corners of the Rubyverse: RVM and MacRuby

Please continue reading after the next sentence. I installed Snow Leopard a couple of weeks ago. Wait — don’t stop reading. This isn’t a post about how to install MySQL or a post about whether or not Snow Leopard is the Greatest Thing Ever. There are plenty of other places on the Internet where you can get that information. I wanted to talk about two cool corners of the Ruby universe that I started
Read More

WindyCityRails: My Presentation Checklist

WindyCityRails 2008 Sometimes I write these just for me. As I’ve mentioned a couple of times, tomorrow I’ll be speaking at WindyCityRails, and I need a checklist of all things I don’t want to forget, and all thing things I want to do to make the talk great.
Read More

edge case city: requirements and testing dates for HR business logic

edge case city: requirements and testing dates for HR business logic We have an internal application that does staffing, time entry, and now Paid Time Off (PTO) accrual, scheduling and management. It is quite nice, as it has replaced three existing systems, and replaced a number of manual, tedious tasks. I started it last year, as our current system was very inefficient. It was a simple Ruby on Rails app that I was a
Read More

Ask A Rails Tester Person

Ask Mr. Lizard, from Jim Henson’s Dinosaurs It’s time to play “Ask A Tester Person”, where I answer questions that I’ve gotten via email or otherwise about Rails Testing topics. If you have a question for Ask A Tester Person, send it to railsprescriptions at gmail.com. Before I continue, I want to mention that Pathfinder’s own John McCaffrey and myself will both be presenting at Wi
Read More

Bridging the Gap Between Rails Developers and HTML Designers

To make a cheap joke and paraphrase a common quote, web developers and web designers are two groups separated by common languages. In our case, the languages are HTML and CSS, which are the output of both the web design process and the web development process. Developers and designers produce their HTML/CSS in different ways and with different goals. Here are some ideas for bridging the gap so that the developers and
Read More

Rails Testing First Look: Blue Ridge

Blue Ridge Mountains by eleda 1 So, I tried Blue Ridge for the first time yesterday and I thought I’d write down some quick impressions. Hence, Rails Testing First Look. Disclaimer: We came into this tool so cold our toes froze. We fumbled, we made mistakes, we probably missed really great ways of doing things. I look forward to being enlightened. Let’s do this question-and-answer style:
Read More