I was thinking of leaving these tasks empty, so in the future we could use them again if we rename or remove more settings. But since we haven't renamed nor removed any settings for more than seven months, and we've only used these tasks once, I'm simply removing the tasks. It's easy to add them back if we ever need them.
8 lines
182 B
Ruby
8 lines
182 B
Ruby
namespace :settings do
|
|
desc "Add new settings"
|
|
task add_new_settings: :environment do
|
|
ApplicationLogger.new.info "Adding new settings"
|
|
Setting.add_new_settings
|
|
end
|
|
end
|