Module Lightrail::Generator::Commands::Destroy
In: lib/lightrail/commands.rb

Methods

Public Instance methods

Used in lightrail_clone generator

Removes all controllers, models, helpers and initializers from the main app

Loops through all of the migrations Removes them from the main app‘s migration directory

Removes all views from the main app

Used in the lightrail_destroy_files generator Goes through every directory in the entire "destroy" folder and script/destroys them

[Validate]