Parameterize an ActiveRecord #joins method
around this issue arel "A Relational Algebra" is the underlying query
assembler for Rails and can be used to construct queries, conditions,
joins, CTEs, etc. that are not high level supported in Rails. Since this
library is an integral part of Rails
Date : January 02 2021, 06:48 AM , By : Ohad Barzilay