What is the best way to generate a random DateTime in Ruby/Rails? Trying to create a nice seeds.rb file. Going to use it like so:
Foo.create(name: Faker::Lo
I prefer use (1..500).to_a.rand.days.ago
(1..500).to_a.rand.days.ago