看板
[ Ruby ]
討論串[問題] 問關於 has_and_belongs_to_many 的問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
我的環境是 Ruby 1.8.6 / Rails 1.1.6. tagging (relational table). - user_id. - tag_id. - diary_id. class User < ActiveRecord::Base. has_many :diaries. has_a
(還有294個字)
內容預覽:
環境:. Ruby 1.8.5 / Rails 1.2.3. 狀況:. 系統裡面有三個 model. Diary, Tag, User. 其中 Diary 與 Tag 是 many-to-many 關係. class Diary < ActiveRecord::Base. has_and_belon
(還有662個字)
首頁
上一頁
1
下一頁
尾頁