Sha256: 468ab2df82c6acd29b9c48de1019db6ec67e2b9980faeb76b5d10c64e92158c6
Contents?: true
Size: 680 Bytes
Versions: 21
Compression:
Stored size: 680 Bytes
Contents
# Copyright 2021 Google LLC # # Use of this source code is governed by an MIT-style # license that can be found in the LICENSE file or at # https://opensource.org/licenses/MIT. # require_relative "../../config/environment.rb" require_relative "../models/singer" first_names = %w[Nelson Todd William Alex Dominique Adenoid Steve Nathan Beverly Annie Amy Norma Diana Regan Phyllis] last_names = %w[Thornton Morgan Lawson Collins Frost Maxwell Sanders Fleming Jones Webb Walker French Montgomery Quinn] 30.times do Singer.create first_name: first_names.sample, last_name: last_names.sample, birth_date: Date.new(rand(1920...2010), rand(1...12), rand(1...28)) end
Version data entries
21 entries across 21 versions & 1 rubygems