Reloadable Fixtures

Episode #443 by Teacher's Avatar David Kimura

Summary

In this episode, we'll have a look at a way where we can use fixtures to manage the data in our development environment, tests and a demo environment. We'll dive into some complications and nuances with handling fixtures in ActionText and ActiveStorage.
rails fixtures development 25:10

Chapters

  • Introduction (0:00)
  • Creating Post Fixtures (4:18)
  • Creating Comment Fixtures (6:00)
  • Creating ActionText Fixtures (7:45)
  • Loading the Fixtures (11:41)
  • Creating ActiveStorage Fixtures (14:12)
  • Creating Rake Task (20:07)
  • Demo (23:43)
  • Final Thoughts (24:19)
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
$ 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