How do you add a validation based on an attribute of another model?

后端 未结 0 1875
感情败类
感情败类 2021-01-20 04:19

I have two models: BasePlan and Plan. A BasePlan has_many Plans and a Plan belongs_to a BasePlan

I need to validat

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