swfaddress rails sample – my modest contribution to an open source project
My friend Rostislav (Asual) managed to release SWFAddress 2.2 for Christmas (and even before this, have you heard of a release that made it before the planned deadline?). A brand new rails 2.2 restful example produced by yours truly was included in this release.
I can’t really remember how I got into this – I think that he asked for some obscure PHP detail on the SEO sample. Having a lot of boring work to do, I quickly managed to find an excuse to get away from it. The first example was quite clunky, made no use of the rails routing, had some quirky “datasource” views, and used if/else to provide conent for the different urls. Less then an year ago, I am finally capable of doing it “right”
.
Check the code in sourceforge – I also included a small capistrano deployment script for the setup on a linode VPS. This also happened to be my first encounter with Passenger and REE – and boy, was the setup smooth? Dealing with monits, nginxes and thins can sometimes make your head spin.