lib/populator/factory.rb
def populate(amount, options = {}, &block)
      self.class.remember_depth do
        build_records(Populator.interpret_value(amount), options[:per_query] || DEFAULT_RECORDS_PER_QUERY, &block)
      end
    end
# Entry method for building records. Delegates to build_records after remember_depth.
Entry method for building records.
Entry method for building records .
def populate(amount, options = {}, &block)
      self.class.remember_depth do
        build_records(Populator.interpret_value(amount), options[:per_query] || DEFAULT_RECORDS_PER_QUERY, &block)
      end
    end
def populate ( amount , options = { } , & block ) self . class . remember_depth do build_records ( Populator . interpret_value ( amount ) , options [ :per_query ] || DEFAULT_RECORDS_PER_QUERY , & block ) end end
Entry method for building records.
Entry method for building records .
amount
options
block