cschiewek/devise_ldap_authenticatable — pull request #102 by OriginalThing (2012-09-03 07:23:40+00:00)
Title:  Extract method in_group?  from in_required_groups? and expose it to the model

Extracted method to allow application developers to check group membership manually.

I'm not an expert Rails or Ruby developer and am not sure if I should have used the splat operator for calling the method. Should be fairly straight forward to remove them and expand them into parameters if I am wrong.

Note: Perhaps ldap_groups needs to be updated to work with AD or allow searching using custom group attributes (parameter or config file) because AD uses "member" rather than "uniqueMember".