james2m / canard

Makes role based authorization in Rails really simple. Wraps CanCan and RoleModel up with a smattering of syntactic sugar, some generators and scopes.
MIT License
125 stars 28 forks source link

Ruby 1.8.7 / Mongoid 2.x compatibility #7

Closed dwbutler closed 12 years ago

dwbutler commented 12 years ago

Ruby 1.8.7 compatibility ended up being a little tougher than expected. 1.8.7 only supports Mongoid 2, which has a slightly different interface.

Anyway, now it's all tested with 1.8.7, 1.9.3, and REE. I'll let Travis sort out the rest.

travisbot commented 12 years ago

This pull request fails (merged 8611ef37 into 7e8fc443).

dwbutler commented 12 years ago

Looks like some rubies still aren't working. I'll look into it.

james2m commented 12 years ago

Actually it was some of the travis instances crashing randomly rather than anything in Canard, so I ignored those as I knew it was passing locally.

Thanks for all the work getting Mongoid in there.