2024-02-02 09:05:04 -06:00
|
|
|
# This file should ensure the existence of records required to run the application in every environment (production,
|
|
|
|
# development, test). The code here should be idempotent so that it can be executed at any point in every environment.
|
|
|
|
# The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
|
2024-02-11 12:31:29 -06:00
|
|
|
|
|
|
|
# Create default currency
|
2024-02-11 12:38:15 -06:00
|
|
|
Currency.find_or_create_by(iso_code: "USD", name: "United States Dollar")
|
2024-02-20 09:07:55 -05:00
|
|
|
|
2024-02-29 16:35:54 -05:00
|
|
|
puts 'Run the following command to create demo data: `rake demo_data:reset`' if Rails.env.development?
|