namespace :cache do
  namespace :db do
    namespace :name do
      desc 'Run to update names by view.'
      task update: :environment do
        puts 'Updating names by view...'
        Feature.update_cached_feature_names
        puts 'Finished successfully.'
      end
    end
  end
end
