rolify v3.1 Release Notes

Release Date: 2012-04-06 // about 12 years ago
    • Mongoid adapter optimization
    • ๐Ÿ”จ adapter code refactoring
    • generator now adds the role class name to the rolify method injected in the user class
    • ๐Ÿ›  fixed a bug on the generator when using a 2 words Camel case for the Role class name
    • DEPRECATION NOTICE: has_role and has_no_role have been depecrated. They are replaced by add_role and remove_role
    • some internals cleanup (backward compatible)
    • stop requiring active_record in rolify.rb to prevent other gems ORM detection issue
    • ๐Ÿ›  fixed a bug when removing a role to the user using Mongoid adapter
    • โž• added indexes to generator for mongoid (thanks to @stigi)
    • fixed a bug regarding with_role method on resource classes (thanks to @nfo)