An expressive query DSL for Active Record
01-Sep-2022 1002
Have you ever used the Squeel gem? It's a really nice way to build complex queries. However, Squeel monkeypatches Active Record internals, because it was aimed at enhancing the existing API with the aim of inclusion into Rails. However, that inclusion never happened, and it left Squeel susceptible to breakage from arbitrary changes in Active Record, eventually burning out the maintainer.
An expressive query DSL for Active Record #ruby #rubydeveloper #rubyonrails #expressive #query #Active #Record #active #record https://rubyonrails.ba/link/an-expressive-query-dsl-for-active-record