0882450232
1) remove all empty conditions hashes from the rules, they are included in the records through `@model_class.all` 2) only process can rules if the new and old rules lists are the same length (meaning there were no empty conditions hashes) 3) always process cannot rules |
||
---|---|---|
.. | ||
cancan | ||
generators/cancan/ability | ||
cancan.rb |