Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 306 Bytes
require 'rails/generators'
require 'active_support/core_ext/object/inclusion'
Rails::Generators.configure!
if ARGV.first.in?([nil, "-h", "--help"])
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.