DEV Community

Alessandro Rodi
Alessandro Rodi

Posted on

CanCanCan 3.1.0

Hi all πŸ‘‹,
a new version of CanCanCan is out!

This is a minor release with small but important improvements.
Please read the whole CHANGELOG.

First of all: we have a logo!

Thanks again Renuo AG for the big support.

The biggest improvement in this version is on how we generate the queries when you use accessible_by helpers. Instead of the distinct clause, we now prefer an inner query. This solves many issues when you have more complicated queries. It also allows you to use CanCanCan even if you have JSON columns.

We also have a better support for I18n and translation of the error messages.

Have fun!

Top comments (0)