Scrimmage/gem_activerecord_hoarder

View on GitHub
example/fixture.rb

Summary

Maintainability
A
0 mins
Test Coverage
def create_examples(count, start: 0, deleted: true)
  (1..count).each do |n|
    Example.create(content: "example: #{n}", created_at: (n+start).hours.ago, deleted_at: Time.now)
  end
  nil
end