Please sign in to comment.
Processes can rules only if no empty conditions rules are present
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
- Loading branch information...
Showing with 10 additions and 6 deletions.