How to use YAML files to store data in Rails - YouTube

12-Apr-2023 632
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 this episode is available here: https://github.com/phawk/rapid_yaml_d...P.s. Want access to next week's video right now? Head on over and sign up on http://rapidruby.com/ now!If you want to support me you can buy me a coffee here: https://app.payhere.co/rapid-ruby/buy...
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle