Arel is the low level library that Rails and more specifically, ActiveRecord uses to construct SQL queries. It is not well documented as Rails does not expect users to interact with it directly. However, it can be useful for avoiding raw queries.
Arel is the low level library that Rails and more specifically, ActiveRecord uses to construct SQL queries. It is not well documented as Rails does not expect users to interact with it directly. However, it can be useful for avoiding raw queries.