Tutorial Series
This series covers how to build and containerize a Ruby on Rails application. It walks through common development tasks – adding nested resources, a JavaScript framework (Stimulus.js), Bootstrap stylings, and Sidekiq and Redis to handle background jobs – before moving on to showing you how to containerize a Rails application for development.
Tutorial
Published on August 21, 2019
Rails is a web application framework written in Ruby. It takes an opinionated approach to application development, assuming that set conventions will best serve developers in cases where there is a common end goal.
In this tutorial, you will build a Rails application that will enable users to post information about sharks and comment on other users’ posts, creating a larger conversation about sharks and their behavior.
Tutorial
Published on August 29, 2019
Rails is a web application framework written in Ruby that offers developers an opinionated approach to application development. As you add complexity to your Rails applications, you will likely work with multiple models, which represent your application’s business logic and interface with your database. In this tutorial, you will build on an existing Rails application that offers users facts about sharks. This application already has a model for handling shark data, but you will add a nested res
Tutorial
Published on October 1, 2019
In this tutorial, you will install and use Stimulus to build on an existing Rails application that offers readers information about sharks. The application already has a model for handling shark data, but you will add a nested resource for posts about individual sharks, allowing users to build out a body of thoughts and opinions about sharks. You will use Stimulus to manipulate the position and appearance of posts on the page.
Tutorial
Published on November 6, 2019
If you are developing a Ruby on Rails application, you may be interested in adding styles to your project to facilitate user engagement. Bootstrap is an HTML, CSS, and JavaScript framework designed to simplify the process of making web projects responsive and mobile ready. By implementing Bootstrap in a Rails project, you can integrate its layout conventions and components into your application to make user interactions with your site more engaging.
Tutorial
Published on November 23, 2019
When developing a Ruby on Rails application, you may find that you have application tasks that are best performed asynchronously. Processing data, sending batch emails, or interacting with external APIs are all examples of work that can be done asynchronously with background jobs. In this tutorial, you will add Redis and Sidekiq to an existing Rails application. When you are finished, you will have a jumping off point for adding more workers and jobs to your application as needed.
Tutorial
Published on December 27, 2019
If you are actively developing an application, using Docker can simplify your workflow and the process of deploying your application to production. This tutorial will show you how to set up a development environment for a Ruby on Rails application using Docker. You will create multiple containers – for the application itself, the PostgreSQL database, Redis, and a Sidekiq service – with Docker Compose.
Tutorial
Published on December 19, 2020
When building modern, stateless applications, containerizing your application’s components is the first step in deploying and scaling on…
This series is a great place to start if you are new to Rails or containers, and will give you a firm foundation for development.