Skip to content


Uninstalling removes entire directories #468

gjb83 opened this Issue · 1 comment

2 participants


I installed formtastic as follows:

$ rails generate formtastic:install
exist config/initializers
create config/initializers/formtastic.rb
exist public/stylesheets
create public/stylesheets/formtastic.css
create public/stylesheets/formtastic_changes.css

...and later removed it using the following:

$ rails destroy formtastic:install
remove config/initializers
remove config/initializers/formtastic.rb
remove public/stylesheets
remove public/stylesheets/formtastic.css
remove public/stylesheets/formtastic_changes.css

However, the uninstall process deleted my entire config/initializers and public/stylesheets directories, although they contained other files.


Resolved by #469, closing.

@sterrym sterrym pushed a commit to sterrym/formtastic that referenced this issue
@vijaydev vijaydev Fixes Issue #468 -…
…#issue/468 - where the directories config/initializers and public/stylesheets are removed on running the destroy generator, regardless of other files that they contain.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.