在rails中使用has_and_belongs_to_many关联而不是has_many:through有什么明显错误吗?我知道这些 文章 描述了差异和解决方法,但是它们是从2006年开始的.从我读过的东西来看,似乎人们认为habtm陈旧而笨重,但如果一个简单的多对多加入没有必要的模型是你在找什么?
思考?
ruby-on-rails has-and-belongs-to-many
has-and-belongs-to-many ×1
ruby-on-rails ×1