开发者

undefined method `[]' for true:TrueClass

I am getting undefined method [] for true:TrueClass error while running the rake task in acts_as_recommendable plugin. The error points to the following line.

  items = options[:on_class].find(:all开发者_运维问答).collect(&:id)

Can someone please tell what am i doing incorrectly.


options is probably defined as true. We can't really know why without more information.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜