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.
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
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.
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.
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.
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.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.