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

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

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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

@p-h-f-donda

Pedro H F Donda


Receive Stories from @p-h-f-donda

react to story with heart
Pedro H F Donda HackerNoon profile picture
by 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!
Read My Stories

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa