Working with YAML

Episode #429 by Teacher's Avatar David Kimura

Summary

In this episode, we look at a few different ways that we can interact with YAML files in our Ruby on Rails application; using them for loading configurations and also seeding data.
rails data 10:07

Chapters

  • Introduction (0:00)
  • Loading YAML configs (0:52)
  • Generating a scaffold (1:58)
  • Method 1 - Loading YAML Data (2:36)
  • Method 2 - Loading YAML Data (5:12)
  • Method 3 - Loading YAML Data (6:18)
  • Final Thoughts (8:13)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
Autumn Sale
$ 144 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams