One approach may be to build the data as a large csv. Which you could do from ruby if you wished and you can then keep as a file. Then either import directly to the db with sql or workbench etc. or if you want to stay ruby, load the csv and use ar_extension import to dump the data into the db.
On Friday, 5 April 2013 16:08:04 UTC+1, Ruby-Forum.com User 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. > > -- > Posted via http://www.ruby-forum.com/. > -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/sZheFpnQ2wkJ. For more options, visit https://groups.google.com/groups/opt_out.