method

seeds?

rails latest stable - Class: ActiveRecord::DatabaseConfigurations::HashConfig

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

seeds?()
public

Determines whether the db:prepare task should seed the database from db/seeds.rb.

If the `seeds` key is present in the config, `seeds?` will return its value. Otherwise, it will return `true` for the primary database and `false` for all other configs.