class ActiveRecord::DatabaseConfigurations::HashConfig
def seeds?
If the `seeds` key is present in the config, `seeds?` will return its value. Otherwise, it
Determines whether the db:prepare task should seed the database from db/seeds.rb.
def seeds? configuration_hash.fetch(:seeds, primary?) end