Ruby, Rails & Hotwire Articles

Level up your Rails skills with in-depth articles for developers. Practical tips, best practices, and real-world examples.

Testing GraphQL using RSpec

In this lesson, we're diving into how to effectively test your GraphQL Server using RSpec. Prepare for a detailed exploration on how to run queries and mutations against the schema, making assertions on the GraphQL response, and extracting queries...

Getting started with GraphQL in Rails

In this guide, we are going to delve into setting up a GraphQL server on Rails. Our focus areas will include setting up GraphQL types for your models, installing the GraphQL Rub...

Pete H. Pete Hawkins

Simple Rails authentication

In this tutorial, we'll dive into rolling our own authentication in Rails, allowing users to sign in and log out. We'll be using the `has_secure_password` library that comes bui...

Pete H. Pete Hawkins

Dynamic forms in Hotwire

In this tutorial, we will explore how to use Turbo Frames for creating dynamic form fields in a Rails application. We will create a form that allows users to sign up as an indiv...

Pete H. Pete Hawkins

Unlock 7 Hotwire tricks every Rails dev should know ⚡️

Level up your Rails skills with 7 powerful Turbo techniques in my free Hotwire Cheatsheet. Subscribe for updates on new videos, courses & more — no spam, just gems.