Hi, I'm Chris.

I'm a software developer and consultant based in Plymouth, UK. This site is a collection of tutorials, thoughts and things I've learned in code, life, and running my business.

Rails on Docker: Using Yarn to Manage Frontend Assets

Rails 5.1 introduced the front-end package manager Yarn into the standard tooling for new Rails projects. Yarn allows you to declare and manage your… Continue reading →

24 November 2017 rails ruby docker yarn

Rails on Docker: Using Docker Compose with Your Ruby on Rails Apps

As you work on your app, it often becomes difficult (and tiresome) to remember all the different configurations and arguments you need to create and link containers. The complexity increases as your app’s dependencies grow (such as when you need to using Sidekiq and to handle background jobs).… Continue reading →

9 September 2017 rails ruby docker docker-compose

Rails on Docker: Getting Started with Docker and Ruby on Rails

Docker is a fantastic tool for isolating your app and its environment, and allows easy distribution and state-replication across multiple environments (dev, test, beta, prod, etc.). Using Docker can get rid of the “it works on my machine” problem, and help you to easily scale your app as it grows.… Continue reading →

7 July 2017 rails ruby docker

How to Fix Missing SD Card on Android Emulator

Whilst testing an app on the Jelly Bean emulator, I couldn’t get the emulator to mount the SD card. Calls to Environment.getExternalStorageState()… Continue reading →

19 May 2017 tips android emulator

How to Pass Data From Rails to Javascript / Coffeescript

If you want to pass data between Rails and Coffeescript in your apps, you’ll find that interpolation doesn’t work. For example: If you look at the… Continue reading →

7 May 2017 rails ruby coffeescript javascript

3 Ways to Keep Your Ruby on Rails Apps Healthy

Ruby on Rails is a great framework for building modern web applications. But as with any technology, things move on quickly. Without proper care and… Continue reading →

27 April 2017 rails ruby