Tutorials

How to implement Pub/Sub pattern in Ruby on Rails? - DEV Community
In this article we'll provide a comprehensive guide to understanding and implementing the Pub/Sub pattern. We will explore the evolution of this pattern from a primitive implementation to three product-ready solutions: ActiveSupport::Notifications...

Learn how to send an RSpec report to the Notification Center - YouTube
Don't miss out on exclusive coding tips and tricks! Hit that subscribe button now and join the journey to becoming a coding master! 🙏 💚 😊We're also available on:- Twitter: https://www.twitter.com/RubyCademy- Medium: https://www.medium.com/@ruby...

Ruby on Rails Stripe API - Pay Now Button with Stripe Checkout API - YouTube
Ruby on Rails Stripe API: eCommerce store with CheckoutGithub Repo: https://github.com/corsego/shoplifyHeroku Demo: https://shoplify.herokuapp.com/Stripe Dashboard: https://dashboard.stripe.com/Stripe Checkout: https://stripe.com/docs/payments/ch...


How to use YAML files to store data in Rails - YouTube
In this episode, I show you how to store data in YAML files alongside your code, rather than in your database. We’ll use YAML.load_file to read the content and encapsulate all this logic nicely into a PORO (Plain old Ruby object). Source code for ...

Dealing with common and uncommon problems with parsing CSV with Ruby
At first glance, parsing CSV files with Ruby seems really straightforward and non-problematic. The same for the CSV format itself, it’s just a set of data separated mainly by commas. However, the practice is usually more problematic and complex, e...


Client Side Searches With Stimulus Javascript | Ruby on Rails 7 Tutorial (Fix JS.ERB Problems) - YouTube
Just a quick one to talk about how to use Stimulus to do what I get asked about a lot. Tons of old js.erb solutions that don't work anymore in older ruby on rails versions.Checkout my course(s) at: https://learn.deanin.comJoin this channel to help...

Formtastic Makes Forms So Much Easier In Rails 7 | Ruby on Rails 7 Tutorial - YouTube
Today we take a quick look at formtastic and how it can be used to quickly create some nested forms!Checkout my course(s) at: https://learn.deanin.comSource:https://github.com/Deanout/formtasticLinks:https://github.com/formtastic/formtastichttps:/...