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.
Continue reading “respond_to ordering still causing havoc with Internet Explorer 7”
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.
Continue reading “Make Solr / sunspot_rails, Cucumber and VCR bestest buddies”
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 taken in previous Scenarios, and not when the failing Scenario was run on its own.
The solution was to explicitly define the controller action’s method in the controller. So the question to the world is: what changed, ActionController or something in the Cucumber chain?
When I first set out to learn Chef I found that most of the blog posts, tutorials and even the Opscode Help pages themselves were a bit difficult to understand, to say the least. The ontology surrounding Chef is pretty hard to grasp for beginners: Resources, Clients, Nodes, knife, chef, Chef Server, Shef, Cookbooks, Recipes and so on. What I really needed when I started out was a specific walk-through of anything so long as it worked. And a lot of stuff doesn’t.
Continue reading “Cheffin ain’t EZ for beginners”
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 Android app to discover musical treasure. It won the 7digital prize.
Continue reading “Music piracy geocaching wins prize at Music Hack Day!”
This past week, having finished a project and having a bit of free time to spare, I decided to do some digging and see what was going on in Brighton in terms of web development meetups. It turns out there’s plenty of stuff here, and probably more activity in terms of after-school meetup groups and presentations than in London, even.
Continue reading “Brighton web development and design meetups”
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 wherever possible. We chose to use Amazon S3 and CloudFront to bypass Rails for all of the uploading, downloading and image processing grunt work. This is a rundown of the approach we took.
Continue reading “Uploading directly to Amazon S3 from a Rails application”
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 HTML and PSD templates.
Continue reading “Sell your WordPress, Magento, Joomla themes on Superhug”
In almost all of my Rails projects, I write a Rake task to take a dump of the remote mysql database and copy it locally. I decided to do this for my WordPress installation as well, as I tend to test things on my local copy first.
Continue reading “Using Ruby to get a duplicate WordPress database”
After years of writing and rewriting various blogging platforms without telling anyone, in various languages including Python, Ruby and PHP, and obsessing over various database backends such as Berkeley DB XML, I’ve decided to just stick WordPress on a subdomain. I lose. But I win.
Continue reading “WordPress installation”