Has_and_belong_to_many association

后端 未结 0 1051
灰色年华
灰色年华 2020-12-24 00:12

I have two models with no associations between them. So, I generated a migration and added an association.

class Post < ActiveRecord::Base
  has_and_belong         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题