DEV Community

Alessandro Rodi
Alessandro Rodi

Posted on

5 3

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)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free โ†’