Files
project-work/worker-toolkit-stocks-in-the-future/repo/db/seeds.rb
Eric Bell 2854619bc9 chore: init commit
in worker.../repo/GITFOLDER.zip is the .git folder.
2026-08-11 14:44:09 -04:00

19 lines
689 B
Ruby

# Do not add any seed command to this file. Instead, go to /db/seeds/ where you
# will find:
# - development.rb
# - production.rb
#
# Add your seed code into one of those depending on the environment where you wish
# for it to execute.
#
# The intent is to keep seeds separated by environment to avoid any accidental
# execution of code in Production that was meant for Development.
#
# In addition, seeds are split into multiple files (partials) to keep things
# organised. For more information, see the docoumentation at: docs/seeds.md
puts "Starting database seed."
puts "Current environment is: #{Rails.env.downcase}"
load(Rails.root.join('db', 'seeds', "#{Rails.env.downcase}.rb"))