Skip to content
Snippets Groups Projects
user avatar
Mani Tadayon authored
Fix bug with MongoidAdditions throwing a NameError when Mongoid is not defined by always checking if Mongoid is defined before referencing Mongoid-related constants

Also add spec for this bug
e14e1ede
History
Name Last commit Last update
..
cancan
generators/cancan/ability
cancan.rb