Sometimes you need user input to be restricted to a certain range or limited like "greater than zero". While you can do this with conditionals, there are some useful tricks to do this better in Ruby.
Rubygems.org released a new feature called Trusted Publishing which allows you to release gems directly from GitHub Actions without requiring 2FA or long-lived API tokens. Let's see how it works!
Sometimes you write code to get a feature working and stop there. With a little refactoring, you can extract local variables into methods that make testing and extending easier.
In this episode, we will learn about handling one-time payments with the Pay gem and Stripe embedded checkout. This is a great approach for non-recurring payments and can be implemented very quickly.
In this video, you'll learn about a feature of IRB, which is the ability to change context into an object.
6 min
About GoRails Screencasts
From the publisher's feed
GoRails is a series of screencasts and guides for all aspects of Ruby on Rails. Learn how to setup your machine, build a Rails application, and deploy it to a server.