Closed kaspth closed 5 months ago
Still wish we'd gotten the method(:name)
shorthand in Ruby, could've been really interesting for this:
defaults Faker::Name.:name, public_key: SecureRandom.:hex
I think this is ok for now and I'll move forward with it.
You can now set up default attributes that's applied to created/inserted records, like this:
In a bit, I'd like to add built-in global defaults using Faker for the ~200 unique column names that a typical Rails app has.