Skip to content

Instantly share code, notes, and snippets.

@burtlo
Created May 11, 2011 18:45
Show Gist options
  • Save burtlo/967044 to your computer and use it in GitHub Desktop.
Save burtlo/967044 to your computer and use it in GitHub Desktop.
Rake task that accepts parameters
rake unsubscribe['myemail']
task :unsubscribe, :email do |task,args|
puts "Unsubscribing #{args[:email]}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment