Chris Blunt

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.

Today, I help people and organisations who use Ruby on Rails. I enjoy learning and experimenting with tools and technologies, as well as the art of business. This means I'm often dabbling with new languages and frameworks, and posting what I learn. My now page describes what currently has my attention.

You can follow and contact me on GitHub icon github Instagram icon instagram LinkedIn icon linkedin

Rails 5: Matching Asset URLs in Feature Specs

As part of an ongoing Rails Upgrade for a large web application, I needed to update a feature spec that checked the URL of included assets. In earlier versions of Rails, these URLs could simply be checked by calling: Continue reading →

Posted in ruby, rails, rspec.

Rails on Docker: How to Share Containers Across Multiple Projects

In this tutorial, you'll learn how to share containers (e.g. a database) across multiple projects using Docker Compose and Docker Networks. Continue reading →

Posted in rails, docker, ruby.

Rails on Docker: Using an Entrypoint File in your Containers

When using Docker to run your Rails apps in development, you might come across a leftover server.pid file in your app's tmp/ folder. Learn how to overcome this problem, especially when scaling the number of your app's containers. Continue reading →

Posted in rails, docker, ruby.

Business Tools: How to get started with ConvertKit for Email Automation

Welcome to this new series where I'll dive into the tools and services I use in my business. In this first post, we'll be looking at ConvertKit, which I use for email marketing automation. Continue reading →

Posted in business, tools, convertkit.

Rails on Docker: Using Rails Encrypted Credentials with Docker

Rails 5.1 introduced the encrypted secrets.yml.enc file, with Rails 5.2 tidying things up by consolidating secrets and credentials into the credentials.yml.enc file. Continue reading →

Posted in rails, ruby, docker.

Ruby on Rails: 5 Checks to Make Before Launching Your App

Photo by @spacex via Unsplash. Continue reading →

Posted in ruby, rails.

Ruby on Rails: Running Tests with Guard and Docker

Guard is a great tool for quickly running your Rails app tests/specs as your develop the code. As you edit and change the files in your app, Guard can trigger tests specific to the files you are modifying. Continue reading →

Posted in ruby, rails, docker.

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 app’s frontend dependencies (such as CSS frameworks and Javascript libraries) in a way similar to how Bundler manages Rails dependencies (gems). Continue reading →

Posted in rails, ruby, docker.

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

In the previous tutorial, you learned how to get a simple Ruby on Rails app up and running on Docker containers. Continue reading →

Posted in rails, ruby, docker.

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 →

Posted in rails, ruby, docker.