Limiting & Clamping Values in Ruby
GoRails
by Chris Oliver
6d ago
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 ..read more
Visit website
Refactoring Local Variables To Methods
GoRails
by Chris Oliver
3w ago
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 ..read more
Visit website
One Time Payments With Pay And Stripe
GoRails
by Chris Oliver
1M ago
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 ..read more
Visit website
Changing Contexts To Objects With IRB
GoRails
by Chris Oliver
2M ago
In this video, you'll learn about a feature of IRB, which is the ability to change context into an object ..read more
Visit website
ActionController Modules in Rails
GoRails
by Chris Oliver
3M ago
Ever wondered how Rails controllers get their functionality? Let's see how we can add translation support to Rails API controllers by looking at the Rails source ..read more
Visit website
Components with Phlex in Rails
GoRails
by Chris Oliver
4M ago
Adam McCrea walks through using Phlex to build components for views in your Rails applications. Phlex is a Ruby gem for building fast object-oriented HTML and SVG components using Ruby constructs: methods, keyword arguments and blocks ..read more
Visit website
How to use Mission Control Jobs in Rails
GoRails
by Chris Oliver
4M ago
Mission Control Jobs is a UI for ActiveJob in Rails. It was announced at Rails World 2023 and just got released. It currently supports SolidQueue and Resque with more queue adapter support in the future ..read more
Visit website
Single Table Inheritance (STI) with ActiveRecord in Rails
GoRails
by Chris Oliver
4M ago
Have models that store the same data but need different functionality? Rails provides Single Table Inheritance in ActiveRecord to solve this problem ..read more
Visit website
Send Notifications in Rails with Noticed gem v2
GoRails
by Chris Oliver
4M ago
Notifications in Rails applications are even easier now with the new release of Noticed gem v2. We'll explore how to add notifications to your Rails app in just a few minutes ..read more
Visit website
What's New In Ruby 3.3
GoRails
by Chris Oliver
5M ago
Ruby 3.3.0 was released today and this lesson we're diving into the goodies included in the new version ..read more
Visit website

Follow GoRails on FeedSpot

Continue with Google
Continue with Apple
OR