ryanb/cancan — Issue #532: undefined method `accessible_by' for Church:Class
Author: jacobwg
Created: 2011-12-18 23:19:08+00:00
State: open

I'm trying to use cancan with mongoid and am getting an error when using the following line:

```
@churches = Church.accessible_by(current_ability, :update)
```

The console confirms that accessible_by is not a method for the Church class... is there something extra that I should be doing with Mongoid in order to get the accessible_by method included?

Thanks!