belighted / bennett

Bennett is a continuous integration server aimed at Ruby on Rails applications and Git
MIT License
59 stars 15 forks source link

Refactor abilities #5

Closed joelcogen closed 12 years ago

joelcogen commented 12 years ago

Refactor CanCan ability.rb once the current version is fully tested

joelcogen commented 12 years ago

I'm not sure how to do this... The current system seems query-heavy, but unless we can cache the users rights (at least between can? calls, if not between requests) and don't see how we could win anything.

joelcogen commented 12 years ago

@beanieboi Any idea on this?