SVG is a vector image described in XML. This post shows how to to render SVG images inline with Rails.
In the previous tutorial, you learned how to use Volley’s built-in networking tools to quickly download a network resource and display the results. Volley removes lots of boiler-plate code, and lets you concentrate on the details of your app rather than dealing with low-level networking technologies.
Volley is a library developed by Google for fast, easy networking in Android. It wraps up a lot of boiler plate code that you would normally have to code yourself when connecting to servers, queuing requests, handling errors, caching, etc.
On a couple of Android projects I’m working on, I’ve switched to using the new Gradle Build system. The idea of storing the entire build configuration in one place is great.
Clone the code from GitHub
I recently discovered the excellent ActiveRecord
store method whilst researching the best-practice for storing optional, flexible metadata against a record.
store lets you keep simple key/value data into a single text column on your model.
2012 was the year I said farewell to my twenties, celebrated the birth of our beautiful baby daughter, and started to see some real growth in my business. Whilst blog posts were evidently sparse, it has been an absolutely incredible year, both personally and professionally. So much has happened that the past 12 months seem to have flown by.
Last year, I successfully completed my first Plymouth Half Marathon and raised for local charity Jeremiah’s Journey.
While view tests are brittle, easily breaking when the design of a page changes, they are undoubtedly handy for checking the important parts of a page are rendered. I usually check for page titles, model attributes/tables or forms, and footer element, and so on.
Update April 2012: Well that was short-lived. I’ve moved back to Wordpress after Posterous sold to Twitter. Opinion seems to be that Posterous may not be around in the future, so I’ve switched back to self-hosting this blog. Posterous had some great advantages (see below), but its main benefit of posting by email still didn’t improve the frequency of my posts.
I needed a reasonable representation of the Google Nexus S for my site and some client proposal work. There are some stunning examples out there already, but those I found were generally in PSD or non-scalable PNG formats.
Every time I start a new Rails 3 project, I’m always caught out by its autoloading behaviour. Rails 3 will only require (and so autoload) a module when it is first encountered within the application code, for example by a call to
If you like to test out the latest and greatest builds of Ubuntu, you might like to try the latest 11.04 beta in VirtualBox.