Browse files

hit down plans for testing

  • Loading branch information...
1 parent 5a6e009 commit 237179314b2e4224a5e503ffb330f853f05d3ae1 @will committed Nov 17, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 Rakefile
View
6 Rakefile
@@ -1,11 +1,13 @@
require './app/secure_key'
desc 'rotate all'
task :rotate do
- User.all.each do |u|
+ User.rotatable.each do |u|
begin
puts "rotating #{u.id}: #{u.heroku_id}"
u.rotate_keys!
- rescue
+ puts "success!"
+ rescue => e
+ puts "failed #{e.inspect}"
next
end
end

0 comments on commit 2371793

Please sign in to comment.