-
Getting Started with Rails 7 Episode 8: Model Validations and Form Error Messages
This is the 8th video in the Getting Started with Rails 7 series. In this video Mike demonstrates that you can currently create an Article record with an empty title and body. In order to solve the problem, he uses Rails model validations to ensure the data for the Article record is in good order…
-
Getting Started with Rails 7 Episode 7: Create Articles in the Application
This is the 7th video in the Getting Started with Rails 7 series. In this video Mike adds tests and implements the create and new methods for the Article resource, allowing for the creation of an Article record via the application. Following the guide, he first implements create with hardcoded values for the title and…
-
Getting Started with Rails 7 Episode 6: Resourceful Routes for Articles and the link_to Helper
This is the 6th video in the Getting Started with Rails 7 series. In this video Mike sets up resourceful routes for articles. He updates the routing configuration for articles to use routing resources instead of specifying every action one by one. He goes through each of the RESTful routes produced by the articles resource…
-
Getting Started with Rails 7 Episode 5: Show a Single Article
This is the 5th video in the Getting Started with Rails 7 series. In this video Mike adds the route, controller action, and view to show a single Article. He also adds testing to cover the functionality and fixes some errors in the previously created fixtures. This video covers: As in previous videos, Mike uses…
-
Getting Started with Rails 7 Episode 4: Model CRUD in the Rails Console and Listing Articles
This is the 4th video in the Getting Started with Rails 7 series. In this video Mike explores the Rails console with the Article model and the ability to Create, Read, Update, and Destroy (CRUD) Article records in the console. After that he takes a quick look at the Rails database console, customizes some Rails…
-
Getting Started with Rails 7 Episode 3: Autoloading, Generate and Migrate a Model
This is the 3rd video in the Getting Started with Rails 7 series. In this video Mike reviews the Autoloading section of the Getting Started with Rails guide and compares it to the NerdDice RubyGem project. Then he creates the Article model and explores the resulting Rails migration, the errors that occur when you have…
-
Getting Started with Rails 7 Episode 2: Setup Git and Create the First Controller
This is the 2nd video in the Getting Started with Rails 7 series. In this video Mike sets up Git with the GitHub remote, creates the initial commit, generates the ArticlesController, configures routing and writes the first test for the application. This video covers: 00:00:10 Introduction 00:00:39 Create initial commit and push to remote before…
-
Getting Started with Rails 7 Episode 1: Install, Create Project, and Start Server
Ruby on Rails 7 is out! This is the 1st video in the Getting Started with Rails 7 series. In this video Mike provides an introduction and overview of Ruby on Rails, installs Rails 7 (and temporarily disables Node to show it’s no longer a default dependency), creates the example blog project, explores the directory…
-
Ruby on Rails 7 is Out!
On December 15, 2021 Ruby on Rails released version 7.0.0 of its web application framework. However, this came out earlier than I anticipated, so I have re-prioritized everything at Stateless Code to get the new Getting Started With Rails 7 series published as quickly as possible. Now is the Time to Learn Ruby on Rails…
-
Codecast: Install Rails 6, PostgreSQL 13, MariaDB 10.5
In this codecast, Mike installs Rails 6.1, PostgreSQL 13 and MariaDB 10.5 on Ubuntu 20-04. See the previous videos in the setup and configuration series for installing Rails dependencies: Ruby Node Yarn 0:00:10 – Install Rails 0:03:52 – Install PostgreSQL 13 Add the PPA Add the GPG key Update the sources Install PostgreSQL Verify running…