Ruby on Rails Plugin: acts_as_taggable_on_steroids. Keep getting “method_missing” undefined local variable or method 'acts_as_taggble_on'

StackOverflow https://stackoverflow.com/questions/4365553

문제

I am trying to implement a tagging system for my rails app. I employed the popular plugin acts_as_taggable_on_steroids, and followed the instruction on how to install it. I then included acts_as_taggable in the model that I would like to have tags on, but then when I try to start the server I keep getting the error method_missing': undefined local variable or methodacts_as_taggable' for # (NameError)

I look on google and the author suggested to try acts_as_taggable_on, but still this did not fix the problem. I am struggling on this problem for hours already, but still don't know where is the problem. Could anyone please shed some light?

Thank you very much for all the help!!

도움이 되었습니까?

해결책

Did you try to require the lib ruby of act as taggable on steroids at the beginning of your file?

Something like:

require 'acts_as_taggable'

maybe?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top