Nested forms in rails - accessing attribute in has_many relation

后端 未结 4 997
被撕碎了的回忆
被撕碎了的回忆 2020-12-09 03:06

I have a user and a profile model. One user can have many profiles. I need to access only one information from the profiles section (viz the phone number) in my user model d

4条回答
提交回复
热议问题