pg_any_where 0.1.0
pg_any_where patches Arel so that `where(column: array)` emits `column = ANY($1::type[])` instead of `column IN ($1, $2, …)`. This yields a stable prepared-statement shape (one bind parameter regardless of array size), better PostgreSQL plan cache utilisation, and cleaner pg_stat_statements output. Empty arrays are handled correctly without the `1=0` / `1=1` footguns.
Gemfile:
=
install:
=
Versions:
- 0.1.0 June 26, 2026 (10.5 KB)
Runtime Dependencies (1):
activerecord
>= 6.1
Development Dependencies (8):
pg
>= 1.2
rake
~> 13.0
rspec
~> 3.12
rubocop
~> 1.60
rubocop-rspec
~> 2.26
simplecov
~> 0.22
simplecov-console
~> 0.9