impress/lib/tasks/repair_pet_states.rake

6 lines
169 B
Ruby

namespace :pet_states do
desc "Sort pet state SWFs, then remove duplicates and reassign children"
task :repair => :environment do
PetState.repair_all!
end
end