Method: ConfigScripts::Seeds::SeedType#scopes
- Defined in:
- lib/config_scripts/seeds/seed_type.rb
#scopes ⇒ Array<Array> (readonly)
The scopes that we apply when fetching items.
Each entry will be an array. The first entry in the inner arrays will be a symbol, the name of a method that can be run on a relation. The result of the array will be passed in when running the method on the scope.
57 58 59 |
# File 'lib/config_scripts/seeds/seed_type.rb', line 57 def scopes @scopes end |