Sha256: 155b37b043b496d0227932300c7e0c8a843cc19f7e854c6f9552fd8ecec0937d
Contents?: true
Size: 227 Bytes
Versions: 15
Compression:
Stored size: 227 Bytes
Contents
class EventUser < ActiveRecord::Base belongs_to :event belongs_to :user def self.generate_random_data(count = 500) 0.upto(count) do create(:user => User.random, :event => Event.random) end end end
Version data entries
15 entries across 15 versions & 1 rubygems