pat / gutentag

A good, simple, solid tagging extension for ActiveRecord.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

table name collision

jogaco opened this issue · comments

A prefix in table names would help to avoid collisions, such as gutentag_tags ...
I was trying to do it myself but I'm having problems in running rspec from the clean project.

That's a fair point (I'm a little surprised Rails doesn't expected namespaced tables when the classes themselves are namespaced).

Now I'm just trying to think about the right approach for this... if someone's already got Gutentag installed, I want to rename the tables, but otherwise I want to never bother with the generic table names.

Okay, changed the existing migrations and made a note in the README.

Great!
Thanks