radar/forem — Issue #88: permissions: undefined method `can_read_forem_forums?'
Author: kulpae
Created: 2011-11-29 11:23:05+00:00
State: open

Running webrick for development I keep getting this nasty error:

Showing /home/kulpae/.rvm/gems/ruby-1.9.2-p180/bundler/gems/forem-76d997679209/app/views/forem/categories/_category.html.erb where line #1 raised:

undefined method `can_read_forem_forums?' for #

I've an initializer config/initializers/forem.rb with

Forem.user_class = User

Observations:

* After the server is started, the first request works, the following requests don't.
* Overriding the can_* methods in the User model fixes the error, but I don't think it's how it supposed to be...