Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in arel

How do I find records based on attributes of a many-to-many-related model?

Express a CTE using Arel

Arel - How to coalesce a field and a string literal in an Arel query?

using Date.today in joins part of named scope

sql ruby-on-rails arel

Rails gem Ransack -> search 'or condition' with 'is null' and a specific value (field=x OR field IS NULL)

ruby-on-rails arel ransack

Build triple UNION query using Arel (Rails 5)

Rails Arel - how to do INTERVAL 1 DAY with MySQL

mysql ruby-on-rails arel

Complex queries using Rails query language

Rails 3: Is there a `AR#or_where`?

Rails 3: Scope on an optional has_one association

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

ruby-on-rails-4 arel

Can you join another table that isn't an association in ARel?

Can I write this query more elegantly with AREL/ActiveRecord?

ruby activerecord arel

Group Query with Calculations on Rails 3

Arel syntax for ( this AND this) OR ( this AND this)

ruby-on-rails arel

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

mysql ruby-on-rails arel