Is it possible to make a model that uses a differ开发者_如何学运维ent table dependent on an association.
The question is not very clear.... anyway you should consider rethinking about your classes structure and using "polymorphic associations" (if needed):
- http://railscasts.com/episodes/154-polymorphic-association
精彩评论