In this lesson I will show you how to "seed data" to your local development environment. You can use seeds.rb to populate your postgres database.
//seeds.rb
Color.create(name: red)
$ rails db:seed
Watch video Color App - Part 4 - Seeding Data online without registration, duration hours minute second in high quality. This video was added by user SwiftRuby 18 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 190 once and liked it 4 people.