Depends on what you're trying to test. If it's a single table and the values in the database don't matter, you can just add a [0..10000].each loop in seed.rb
Or copy production data Or use a sql script to load your database Or one of these http://watirmelon.com/2012/06/15/three-ways-to-generate-test-data-for-your-ruby-automated-tests/ On Fri, Apr 5, 2013 at 11:08 AM, haxuan lac <[email protected]> wrote: > I want to test performance of project. > So i want make 10000 record of table for testing. > I don't know how to ganerate record. > Who can help me? Thanks. > Greg Akins http://twitter.com/akinsgre -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

