Sha256: d6f25619624e0baaa082eaae56f6dcfed78385d5de8943a99b6c9b8680121dbc
Contents?: true
Size: 235 Bytes
Versions: 1
Compression:
Stored size: 235 Bytes
Contents
module Populator module ModelAdditions def populate(amount, options = {}, &block) Factory.for_model(self).populate(amount, options, &block) end end end class ActiveRecord::Base extend Populator::ModelAdditions end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
populator-0.2.1 | lib/populator/model_additions.rb |