Consider the following:
I have a model Tags and Post.
There is a habtm relationship created such that I have models_tags table created.
Will it cause a problem if I create a model for the join table(models_tags)?
Consider the following:
I have a model Tags and Post.
There is a habtm relationship created such that I have models_tags table created.
Will it cause a problem if I create a model for the join table(models_tags)?
It won't work without adjustments.
HABTM join tables don't have an id
column, which you would need to add and make work.
You'd also have to have the model called ModelsTag
unless you wanted to rename the table also.
Its not a problem, just add a ModelTag model, and use has_many and through option