Created
May 11, 2011 18:45
-
-
Save burtlo/967044 to your computer and use it in GitHub Desktop.
Rake task that accepts parameters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rake unsubscribe['myemail'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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