Search code examples
Rails 3: Arel for NOT EXISTS?...


ruby-on-railsruby-on-rails-3activerecordarel

Read More
How do I refactor a query where I sort products by its relationship from another table...


sqlpostgresqlrails-activerecordarel

Read More
Rails ActiveRecord query combined with a method filter - how to rewrite this?...


ruby-on-railsactiverecordarel

Read More
Ho do I reference a subquery using an alias in an AREL query?...


mysqlruby-on-railsarel

Read More
Issue constructing a query in Rails using Arel and array attributes...


ruby-on-railsarelrails-postgresql

Read More
How to convert this raw query to Active record query interface or arel?...


ruby-on-railsactiverecordarel

Read More
Rails, Arel, Ransack: sort_by sum of relation...


ruby-on-railsrubyarelransack

Read More
How to do "where exists" in Arel...


sqlrubydatabaseruby-on-rails-3arel

Read More
ActiveRecord: Loading records with all child association eager loaded, but select the ones that any ...


ruby-on-railsactiverecordarelransacksqueel

Read More
shouldn't `where.not(field: "something")` include `where(field: nil)`?...


ruby-on-rails-4arel

Read More
ARel: Add additional conditions to an outer join...


ruby-on-railsactiverecordruby-on-rails-3.1arel

Read More
Concatenate variable and string with Arel on join...


sqlrubyarel

Read More
Group statuses together and sort within those status with 1 SQL call in Rails...


sqlruby-on-railsactiverecordarel

Read More
Rails + SQL: include join table when no join...


mysqlruby-on-railsruby-on-rails-4arel

Read More
`.where` ARel query with enum mapped column returns exclusively entries with `0`...


ruby-on-railsactiverecordarel

Read More
How do I do a where query on a SQL column against multiple values?...


ruby-on-railsruby-on-rails-4activerecordarel

Read More
Is it possible to get the ActiveRecord::Relation object for an association...


activerecordruby-on-rails-3associationsarel

Read More
Arel gem: "SELECT *" missing from where clause in rails...


mysqlsqlruby-on-railsrubyarel

Read More
How can I merge two active record relation with OR condition in rails 3 and return result also an ac...


ruby-on-railsrubyruby-on-rails-3activerecordarel

Read More
Ruby where clause is returning nil object? ActionView::Template::Error (undefined method `each' ...


ruby-on-railsrubyrails-activerecordarel

Read More
How to chain or from Arel Array...


sqlruby-on-railsactiverecordarel

Read More
Postgresql uuid_generate_v5 using Arel...


ruby-on-railsrubyarel

Read More
Why use SQL builders? Arel v. Sequel v. T-SQL...


rubyt-sqlarelsequel

Read More
How to parameterized array with activerecord...


sqlruby-on-railsactiverecordarelparameterized

Read More
Writing "not in" sql query using AREL...


ruby-on-railsarel

Read More
Deleting VS Finding Orphans using ActiveRecord helpers...


ruby-on-railspostgresqlruby-on-rails-4activerecordarel

Read More
Join the same table twice with conditions...


sqlruby-on-rails-4rails-activerecordarel

Read More
how to create a scope of elements not yet in many to many relationship?...


ruby-on-rails-4arel

Read More
Using `CONCAT` w/ Arel in Rails 4...


ruby-on-railsrubyruby-on-rails-4arel

Read More
Query a collection based on an association, and then return the whole association...


ruby-on-railsrubysqliteactiverecordarel

Read More
BackNext