Closed tomajask closed 10 months ago
Ok, now I noticed that the fix is there on master
but it was not released yet 🤷🏼
https://github.com/railsadminteam/rails_admin/commit/647347c48de65b49f8f63a767289484599f7b638 https://github.com/railsadminteam/rails_admin/pull/3629
Describe the bug When filtering the records in the list view for table where column has an
:uuid
type of column and usingis present
/is blank
filters it raises an exception:Reproduction steps
uuid
type but withoutnull: false
constraintis present
/is blank
filter.Expected behavior When building a query, instead of:
use just:
Additional context
rails
version:7.0.5.1
rails_admin
version: 3.1.2rails_admin
npm package version:It can be easily fixed by adjusting the following file:
lib/rails_admin/adapters/active_record.rb