Sell your WordPress, Magento, Joomla themes on Superhug
Camel Punch‘s latest client project, Superhug, went into live beta recently. It’s a Rails-driven marketplace for Drupal, Expression Engine, Joomla, Magento, Tumblr and WordPress designs, as well as...
View ArticleUploading directly to Amazon S3 from a Rails application
The use cases for Superhug are heavy on uploading and downloading large(ish) files. Rails itself isn’t so well suited to this sort of task, and it’s best to keep state away from application servers...
View ArticleImplications of the Amazon CloudFront default root object
Amazon recently announced that their CloudFront service now supports serving of an arbitrary object at the root URL of a CloudFront domain. This means that Amazon S3 users can now host entire static...
View ArticleCruiseControl.rb rake task for running rspec and cucumber with a single test...
I wrote this rake task for running the rspec and cucumber tests for a Rails app whilst ensuring that only one database is used. It took a bit of Googling and lots of trial and error so thought I’d...
View ArticleMusic piracy geocaching wins prize at Music Hack Day!
I had a fun time at Music Hack Day London 2010, despite only being there physically for the Saturday. The team, made up of Yves, Chris and myself, with camerawork provided by Patrick, created an...
View ArticleAlways define controller action methods in Rails 3
This morning was spent puzzling over a strange hard-to-reproduce Cucumber test failure in a project I have been upgrading from Rails 2.3.x to 3.0.3. It was only occurring after certain steps had been...
View ArticleMake Solr / sunspot_rails, Cucumber and VCR bestest buddies
After spending the morning banging my head against another Cucumber problem, I thought the best way to spend an afternoon would be to run into another hilarious jape that Rails 3 threw at me. Since...
View ArticleResolving Cucumber step ambiguities
Following the latest campaign against imperative Cucumber stories in favour of declarative stories (see especially Dan North’s great article on domain languages), I’ve been trying to get more...
View Articlerespond_to ordering still causing havoc with Internet Explorer 7
At least a year ago, I ran into this guy’s problem. Today, I just ran into a similar situation with Rails 3′s class-level respond_to / instance-level respond_with pattern. I had the following...
View Article