Skip to content
This repository
tag: v3.0.7
Fetching contributors…

Cannot retrieve contributors at this time

file 10 lines (8 sloc) 0.259 kb
1 2 3 4 5 6 7 8 9 10
require 'rails/generators'
Rails::Generators.configure!

if [nil, "-h", "--help"].include?(ARGV.first)
  Rails::Generators.help 'destroy'
  exit
end

name = ARGV.shift
Rails::Generators.invoke name, ARGV, :behavior => :revoke, :destination_root => Rails.root
Something went wrong with that request. Please try again.