freerange/oauth2-provider — pull request #40 by thatothermitch (2012-04-27 23:26:01+00:00)
Title: Update to mongoid 2.4.x

Ran into issues with AR/Mongoid compatibility around protecting attributes. Versions prior to 2.2.1 (according to the docs, or 2.3.x according to my testing) lack support for safe mass attribute update via `assign` or `update_attributes`

Because of this, I've upgraded to 2.4.x, which appears to be the latest stable? (master is '3.0.0,' but it doesn't appear to be released yet)

Note that sometime after 2.0.0-rc6 it appears that the association-caching logic changed. Upgrading caused two specs that were testing the `Authorization#revoke` method. I feel like these are really testing the underlying behavior of dependent_destroy in the adapters. I've marked these as pending for the time being.

More than willing to discuss alternatives if you so desire... cheers!