How To Populate Your Database with Fake Data: Ruby On Rails Tutorialby@p-h-f-donda
3,392 reads
3,392 reads

How To Populate Your Database with Fake Data: Ruby On Rails Tutorial

by Pedro H F Donda3mAugust 14th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

How To Populate Your Database with Fake Data: Ruby On Ruby On Rails Tutorial. The Faker gem allows you to create fake data to populate your database. Populator can generate names, emails, credit card numbers, addresses, you name it. Faker randomly returns a new user every time it is called. It's amazing to see all potential uses of Faker in this tutorial. You'll need two gems: Populator, Faker and Populator. If you only use Populator you'll have to hardcode the content provided - not cool.

Company Mentioned

Mention Thumbnail
featured image - How To Populate Your Database with Fake Data: Ruby On Rails Tutorial
Pedro H F Donda HackerNoon profile picture
Pedro H F Donda

Pedro H F Donda

@p-h-f-donda

I'm a fiction writer that can write about web tech. I hope these articles make your day better!

Learn More
LEARN MORE ABOUT @P-H-F-DONDA'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Pedro H F Donda HackerNoon profile picture
Pedro H F Donda@p-h-f-donda
I'm a fiction writer that can write about web tech. I hope these articles make your day better!

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!