Method: ConfigScripts::Seeds::SeedType#when_fetching
- Defined in:
- lib/config_scripts/seeds/seed_type.rb
#when_fetching(&block) ⇒ Object
This method registers a custom block that will be run when fetching records.
162 163 164 |
# File 'lib/config_scripts/seeds/seed_type.rb', line 162 def when_fetching(&block) @dynamic_fetcher = block end |