How do I refactor a query where I sort products by its relationship from another table...
Read MoreRails ActiveRecord query combined with a method filter - how to rewrite this?...
Read MoreHo do I reference a subquery using an alias in an AREL query?...
Read MoreIssue constructing a query in Rails using Arel and array attributes...
Read MoreHow to convert this raw query to Active record query interface or arel?...
Read MoreRails, Arel, Ransack: sort_by sum of relation...
Read MoreHow to do "where exists" in Arel...
Read MoreActiveRecord: Loading records with all child association eager loaded, but select the ones that any ...
Read Moreshouldn't `where.not(field: "something")` include `where(field: nil)`?...
Read MoreARel: Add additional conditions to an outer join...
Read MoreConcatenate variable and string with Arel on join...
Read MoreGroup statuses together and sort within those status with 1 SQL call in Rails...
Read MoreRails + SQL: include join table when no join...
Read More`.where` ARel query with enum mapped column returns exclusively entries with `0`...
Read MoreHow do I do a where query on a SQL column against multiple values?...
Read MoreIs it possible to get the ActiveRecord::Relation object for an association...
Read MoreArel gem: "SELECT *" missing from where clause in rails...
Read MoreHow can I merge two active record relation with OR condition in rails 3 and return result also an ac...
Read MoreRuby where clause is returning nil object? ActionView::Template::Error (undefined method `each' ...
Read MorePostgresql uuid_generate_v5 using Arel...
Read MoreWhy use SQL builders? Arel v. Sequel v. T-SQL...
Read MoreHow to parameterized array with activerecord...
Read MoreWriting "not in" sql query using AREL...
Read MoreDeleting VS Finding Orphans using ActiveRecord helpers...
Read MoreJoin the same table twice with conditions...
Read Morehow to create a scope of elements not yet in many to many relationship?...
Read MoreUsing `CONCAT` w/ Arel in Rails 4...
Read MoreQuery a collection based on an association, and then return the whole association...
Read More