cancancan icon indicating copy to clipboard operation
cancancan copied to clipboard

"Cannot" with association hash conditions : accessible_by generates incorrect SQL (Postgres / ActiveRecord)

Open 0llirocks opened this issue 1 year ago • 1 comments

I hope it's enough to link to the relevant issue #214

The commit addresses the issue at its root by checking for IS NULL. PostgreSQL can't compare null values with any other value.

0llirocks avatar Jul 15 '24 08:07 0llirocks

@coorasse Hi, you seem to be one of the maintainer. Any updates on this PR? It is still an issue in our applications that we can't really fix otherwise.

Best regards

0llirocks avatar Mar 18 '25 12:03 0llirocks