Re: [問題] acts-as-taggable-on於Rails 4.0的問題

作者: isnora (nora)   2013-07-07 22:45:36
抱歉,我好像找到解決方式了,但是感覺不太合理。
http://rubydoc.info/gems/acts-as-taggable-on/2.4.1/frames
文件上有一個範例
# Find a user with matching all tags, not just one
User.tagged_with(["awesome", "cool"], :match_all => true)
結果,我把 match_all 這個選項拿掉,一切就正常了… 0rz...
作者: hellolucky (做自己 好自在)   2013-07-08 02:15:00
要追問題的話可以看一下 http://ppt.cc/j28C 這個檔案
作者: isnora (nora)   2013-07-09 13:17:00
這實在是太難了……0rz....,不過真的感謝你的協助!

Links booklink

Contact Us: admin [ a t ] ucptt.com