renaming ActiveRecordAdditions#can method to accessible_by since it flows better and makes more sense

This commit is contained in:
Ryan Bates
2010-04-15 23:54:45 -07:00
parent ef5900c5b1
commit 240c281061
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
* Adding caching to current_ability controller method, if you're overriding this be sure to add caching too.
* Adding "can" method to Active Record for fetching records matching a specific ability
* Adding "accessible_by" method to Active Record for fetching records matching a specific ability
* Adding conditions behavior to Ability#can and fetch with Ability#conditions - see issue #53