How to use YAML files to store data in Rails

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ธ.ค. 2024
  • 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: github.com/pha...
    ---
    Has this video helped you out? Consider buying me a coffee to say thanks and support future content like this, thanks!
    app.payhere.co...
    You can also find more content like this, including premium courses and exclusive community and mentorship to help you level-up! Head over to rapidruby.com and use the code RRTH-cam for a discount!

ความคิดเห็น • 2