ruby 2.7.8
rails 6.1.7.7
cancancan 3.5.0
I have upgraded cancancan in favor of upgrading rails version to 6.1.7.7, but now ability file is behaving really weird specially the ones with STI. I have to rearrange the permission sequence to pass my test cases.
Is anyone know what have changed or it is only related to my application.