开发者

Sample/Dummy Data Generation in Rails 3

Is there a standard gem for 开发者_Python百科creating data for testing purposes for Rails 3?

I am interested in using Faker or Forgery but is there a better approach?

What is the best way to generate and use sample data?


The two I'd recommend using would be factory_girl_rails by Thoughtbot and faker. These are by far the best two for generating sample data.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜