nathanl / authority

*CURRENTLY UNMAINTAINED*. Authority helps you authorize actions in your Rails app. It's ORM-neutral and has very little fancy syntax; just group your models under one or more Authorizer classes and write plain Ruby methods on them.
MIT License
1.21k stars 67 forks source link

Correctly set authorizer= #47

Closed mguymon closed 11 years ago

mguymon commented 11 years ago

When I blow away my original changes, the specs got removed as well, so they happily passed when the authorize= was not set correctly. 3rd time is the charm I suppose.

Additionally, authorizer= now sets the authorizer_name so they both will stay sync.

nathanl commented 11 years ago

I didn't notice the mistake before. Thanks for coming back to fix this and especially for ensuring there's test coverage.

nathanl commented 11 years ago

Just released version 2.7.0 - see CHANGELOG