Skip to content

Instantly share code, notes, and snippets.

@danieroux
Created December 29, 2008 15:33
Show Gist options
  • Save danieroux/41287 to your computer and use it in GitHub Desktop.
Save danieroux/41287 to your computer and use it in GitHub Desktop.
["development", "test", "ci"].each do |databaseName|
namespace databaseName do
desc "stop"
task "stop" do |t|
puts "Action stop would now be performed on database #{t.scope}"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment