DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 966,155 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
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)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.