/ Published in: Ruby
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
ActiveRecord::Base.transaction do 100.times { Model.create(name: SecureRandom.base64(5)) } end