Sha256: 13d2ccd55d2bc9b29f666f2be2a060006265c9f1059dba37ffdc6b829693e197
Contents?: true
Size: 201 Bytes
Versions: 1
Compression:
Stored size: 201 Bytes
Contents
module Populator module ModelAdditions def populate(amount, &block) Factory.new(self, amount).run(&block) end end end class ActiveRecord::Base extend Populator::ModelAdditions end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ryanb-populator-0.1.0 | lib/populator/model_additions.rb |