-
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: Create a RubyGem 38: Implement the Die class
This is the 38th video in the NerdDice create a RubyGem series. In this video, Mike implements the first iteration of the Die class to make the specs from the previous video pass. This video covers: 00:00:12 Introduction 00:00:37 Add expectation about value of roll method to specs 00:01:58 Create the Die class and get…
-
Codecast: Create a RubyGem 37: Write Specs for Die class
This is the 37th video in the NerdDice create a RubyGem series. In this video, Mike writes the failing specs for the first iteration of the Die class. This video covers: 00:00:12 Introduction and check out new branch 00:01:12 Review spec for existing Configuration class and copy into new file as a model for the…