Changing from has_many to has_one relation rails

前端 未结 0 2016
难免孤独
难免孤独 2020-11-27 16:05

Here personaldetails belongs_to user and the relation given is has_many which is wrong.I want to convert the has_many relation to has_one relation i.e. User has_one personal

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