I’ve developed an application last year with rails 1.2.3 and it worked
fine on the web server till recently. Not sure what started the
problem but I am having trouble with acts_as_taggable gem (which I
know has been depreciated).
It was suggested to look into has_many_polymorphs but I ran into
problems with updating my database. The database has 3 tables
(:products, :tags, :products_tags) and uses foreign keys.
The application is based on “Beginning RoR e_commerce”. Tags table has
2 columns: id and name.
So, I gave that up on that one and tried to find an easier solution.
Other things I looked at:
- I installed acts_as_taggable as plugin instead of a gem – but I’m
just not sure what to change in the application in order to get it to
- I installed acts_as_taggable_on_steroids – but again, I think I ran
into the same problem with the foreign keys. This is the error message
I get when I try “rake db:migrate”
Mysql::Error: Table 'tags' already exists: CREATE TABLE tags (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
Would anyone have a solution on how to fix my problem?
Thanks in advance,