Tutorials


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:/...



The Two Different Approaches We Take to Upgrade an Application
Since 2017 we have been focusing on upgrading Ruby on Rails applications. It’s been quite a fulfilling learning process as we continuously improve our workflow best practices, and internal tooling.In this article I will go into detail to explain h...