You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does not matter if I include cancancan-mongoid or not. In my optinion it should check if AR is used on the config valid_accessible_by_strategies like it does on the loading of files in cancan.rb
The text was updated successfully, but these errors were encountered:
When I update CanCanCan on a Rails project, that does use Mongoid instead of AR, I get the following error on startup:
.../gems/ruby-2.6.6/gems/cancancan-3.2.0/lib/cancan/config.rb:6:in `valid_accessible_by_strategies': uninitialized constant CanCan::ModelAdapters::ActiveRecordAdapter (NameError)
It does not matter if I include cancancan-mongoid or not. In my optinion it should check if AR is used on the config valid_accessible_by_strategies like it does on the loading of files in cancan.rb
The text was updated successfully, but these errors were encountered: