Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in arel
Arel - How to coalesce a field and a string literal in an Arel query?
Oct 26, 2025
ruby-on-rails
ruby
activerecord
coalesce
arel
using Date.today in joins part of named scope
Oct 26, 2025
sql
ruby-on-rails
arel
Rails gem Ransack -> search 'or condition' with 'is null' and a specific value (field=x OR field IS NULL)
Oct 24, 2025
ruby-on-rails
arel
ransack
Build triple UNION query using Arel (Rails 5)
Oct 24, 2025
ruby-on-rails
postgresql
ruby-on-rails-5
arel
Rails Arel - how to do INTERVAL 1 DAY with MySQL
Sep 08, 2025
mysql
ruby-on-rails
arel
Complex queries using Rails query language
Mar 01, 2023
ruby-on-rails
activerecord
ruby-on-rails-3
arel
Rails 3: Is there a `AR#or_where`?
Feb 28, 2023
sql
ruby-on-rails
activerecord
where-clause
arel
Rails 3: Scope on an optional has_one association
Feb 26, 2023
ruby-on-rails
ruby-on-rails-3
scope
arel
shouldn't `where.not(field: "something")` include `where(field: nil)`?
Feb 13, 2023
ruby-on-rails-4
arel
Can you join another table that isn't an association in ARel?
Dec 24, 2022
ruby-on-rails
postgresql
arel
Can I write this query more elegantly with AREL/ActiveRecord?
Dec 24, 2022
ruby
activerecord
arel
Group Query with Calculations on Rails 3
Dec 18, 2022
ruby-on-rails
activerecord
group-by
arel
Arel syntax for ( this AND this) OR ( this AND this)
Dec 18, 2022
ruby-on-rails
arel
Ho do I reference a subquery using an alias in an AREL query?
Dec 14, 2022
mysql
ruby-on-rails
arel
Older Entries »