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