ruby 2.0 + rails 3.2.13 + nginx + unicorn + produc

错误提示为:

NoMethodError (undefined method `applied_roles' for nil:NilClass):  app/models/ability.rb:50:in `initialize'

只要加上authorize_resource就出错,测试环境不会出错,之前也一直不出错,一直到昨天,现在cancan是1.6.10,有没谁遇见过,而且现在只要加上authorize_resource的controller都会变得非常非常慢

ruby 2.0 + rails 3.2.13 + nginx + unicorn + produc

相关文章:

你感兴趣的文章:

标签云: