Using YAML files to store data in Rails

4 Apr, 2023

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).

Get new videos in your inbox weekly!

Be the first to hear about new courses and videos launching. You’ll only receive relevant news, no spam.