看板 [ Ruby ]
討論串[問題] Rails中AR Associations的單複數問題
共 6 篇文章
首頁
上一頁
1
2
下一頁
尾頁

推噓1(1推 0噓 3→)留言4則,0人參與, 最新作者tonytonyjan (南洋大兜蟲)時間14年前 (2011/07/31 13:51), 編輯資訊
0
0
0
內容預覽:
環境:. Rails ~> 3.0.0. 狀況:. 在閱讀文章、書籍的時候,看到每個人都說. has_one, belongs_to後面要放單數的association_id. has_many, has_and_belongs_to_many及:through後面要放複數. 但是皆知其然不知其所以
首頁
上一頁
1
2
下一頁
尾頁