mbleigh / acts-as-taggable-on

A tagging plugin for Rails applications that allows for custom tagging along dynamic contexts.
http://mbleigh.lighthouseapp.com/projects/10116-acts-as-taggable-on
MIT License
4.96k stars 1.2k forks source link

Removing this gem breaks the migrations #996

Closed timwis closed 3 years ago

timwis commented 4 years ago

Because the migrations reference class properties to determine the table name, rails db:migrate no longer works when you remove acts-as-taggable-on from your Gemfile. Is there some other way to uninstall this gem?

fnguyen-tc commented 4 years ago

Remove the migration files with the Gem

silva96 commented 4 years ago

you should not be doing "db:migrate" to set up new environments, use db:schema:load for that purpose, is faster and less error prone. Migrations are for incremental updates, for production and your co-workers local machines that have been upgrading one migration at the time.