views:

32

answers:

2

I'm new with Ruby on Rails and want to get several records into the SQLite3 database so that I can manipulate the data. I am following a lesson, and wonder what is the fastest, most effective way to get the data into the database, which has four tables (includes one join table)?

Are there any plugins which are good for this?

A: 

Have you got data already? Is it already in a database? If so the easiest way is to just configure rails to connect to the database.

Other than that you'll want to look into seeding. This railscasts explains the process.

EmFi
+1  A: 

I use the Faker library and Rail's new seed functionality.

BJ Clark