Stewart McKinney

Developer :: New York office

Born in the Nutmeg State (thats Connecticut for the uninitiated), Stew has worked since graduating from Boston College as a Developer in many different arenas: e-commerce, social networking, content management, glorified business cards, and client-facing web services. As a young lad, he picked up a copy of “CodeWarrior: Learn To Program” and never looked back, developing programs in C, C++, Java, PHP, JavaScript, and Ruby on Rails, although to be honest, he really only did it to make video games. Cliche? Yes. Did it lead to awesome? You bet.
Before entering the “corporate world”, he started his own company, Kazoo Interactive (hey – it’s a working name), in order to build applications in the social space – particularly in social media and social education. Believing that social networks have the profound power to deliver user experience above and beyond the current standard by providing applications information about what behavior users’ would prefer, he hopes sincerely that the major players today don’t ruin the future party for everyone. He still pursues these (yet unannounced) ventures in his private time, along with amateur screen-writing.
He is a devotee to the idea of software running in a browser, and loudly applauds technologies such as HTML5 and “the coming of sweet greatness”, although they may have a long way to go.

A Gotcha: Authlogic's allow_http_basic_auth (and configuration methods ending with =)

So, if you have ever implemented simple authentication into your Rails application, you’ve probably used or considered using Authlogic, a very popular Rails gem.
If you have experienced frustration with configuring Authlogic::Session::Base, in particular using the allow_http_basic_auth= method to disable allowing your users to log in w/ basic authentication credentials, here’s a little bit of help.

Rando: a random sequence generator for Machinist, Factory Girl, and other mocking frameworks

A bit of a history:
I’m a big fan of Machinist. But I wasn’t a huge fan of one of the changes that came with Machinist 2: the removal of Sham.
Simply put, satisfying uniqueness constraints by simply inputting random numbers into a field value doesn’t always cut it. Sometimes you need
a unique ip address, a unique first name (with no numeric characters), or a unique latitude/longitude (which is not necessarily easy to generate
simply by using a serial number).

The Facebook Share Button Has Been Deprecated - Called it!

If you’ve been trying to find Facebook’s “Share Button Generator”, and have been redirected to the “Like Button Generator” instead, there’s probably a good reason behind it; all evidence points to the fact that the Share Button is likely to be deprecated in the very near future. I don’t know exactly when Facebook will halt the functionality entirely, but I would advise anyone considering including the feature to re-evaluate their social media options.

So you'd like to run Cucumber and Selenium for your Rails integration tests - with everything vendored - would you?

You may have one day run into the following problem if you are a big Rails BDD developer: You’re trying to setup Cucumber to run integration tests with Selenium, and you have all of your web application’s dependencies vendored – it’s much easier to make sure everything is on the same page, that way. However, for some reason, you can’t get the Selenium tests to run without installing mongrel_rails at a system level. I’ve actually managed to work through this, and get everything to run while being completely localized. Let me share with you how this is done.