Skip to content

Instantly share code, notes, and snippets.

@jlstr
Created August 3, 2011 21:41
Show Gist options
  • Save jlstr/1123851 to your computer and use it in GitHub Desktop.
Save jlstr/1123851 to your computer and use it in GitHub Desktop.
namespace :wines do
desc "delete all wines"
task :destroy_wines => :environment do |t|
Wine.delete_all!
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment