Today’s Gotcha: Dynamic data in Rails scopes
I recently got caught out by an aspect of ActiveRecord scopes that I had totally forgotten about. Lets say you are building a library book tracking system in Rails and you want to know which books are due today. You might be tempted to write something like this class Book < ActiveRecord::Base scope :due, where(‘due_date Read More »
I’ve just found a button that is full of complete win in Chrome. For years I’ve struggled to debug problems in jQuery plugins and other people’s scripts that are served in compressed, minified form. Not any more!
Bath Digital Festival & Storm Hack Day
We’re delighted to announce the launch of the website for Bath’s first ever Digital Festival – http://bathdigitalfestival.com We’ve been working closely with the organising team over the past months to put together the branding, message and website for the Festival, and we’re really happy with the outcome.
Cloud Experts Launches
We have just launched a brand new site for Cloud Experts – a hosted desktop service that solves the financial issues associated with aging hardware for SMEs.
Storm news roundup 13-01-12
Our favourite web(ish) stories from the week… Adam: “The Raspberry Pi has started to be manufactured – in the Far East. The start of manufacturing is an achievement to be celebrated. The device, which will cost around £16-23, packs some serious punch: ‘HDMI for connection to a TV, USB for the keyboard, SD card for Read More »
Using the Top Conversion Paths Report: Defining Custom Channel Groupings
The top conversion paths report is an awesome bit of kit; one of the five new multi-channel funnel reports in Google Analytics. The report shows a graphical table of the most common channels a user passes through to complete a site goal. The basic channel grouping is as follows: Channel Description 1.Paid Advertising Visits Read More »
Understanding Multi-Channel Funnels: An Introduction
Over the last year we have received a barrage of great updates from the chaps over at Google Analytics, with everything from an interface redesign to real-time monitoring of site traffic. However my favourite of these recent announcements has been the inclusion of five powerful new reports under the label of multi-channel funnels. These new reports Read More »
Upgrading a Rails 3.0 project to Rails 3.1
I’ve just upgraded an old Ruby on Rails 3.0 project to the current 3.1 build. Having expected ours of pain I was very pleased to discover that it’s all terribly easy. Here’s the step by step (as ever YMMV depending on gems you have installed).
Today’s Gotcha: Localhost is not included in the ‘%’ wildcard when granting MySQL permissions
MySQL administration is one of those things I have to do pretty infrequently, so when I do there’s always something that trips me up and wastes a bit of time. This week it was granting permissions on a database. To grant permissions on a database to a user you use something like… GRANT ALL ON Read More »
CoffeeScript, SASS and LESS compilation in Visual Studio 2010