Tutorials
Converting HTML to PDF using Rails - DEV Community
Exporting to PDF from HTML can be a bit of a can of worms, especially with CSS not quite working the way it does in a web browser. However with the right setup, it's possible to take the pain out of it!A couple of popular gems to convert HTML to P...
How to Decommission Your Ruby on Rails -- Planet Argon Blog
Our mission at Planet Argon is to fight the big rewrite. There are a few scenarios when we believe a complete rewrite in a new technical stack is a good business decision. Yet, we have helped many organizations migrate from their custom Ruby on Ra...
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...