List Question
20 TechQA 2024-03-08T00:41:50.153000SQL JOIN to SELECT - is there an ActiveRecord way to do this?
82 views
Asked by nimmolo
Combine different conditions on a Active Record via Arel
93 views
Asked by sid297
MySQL - Select the maximum from a column based on an association
45 views
Asked by SlothJesus
is there a way to get back the where conditions in an ActiveRecord::Relation?
27 views
Asked by patrick
How to build a dynamic scope in rails
48 views
Asked by willyab
How can I dump an ActiveModel record as an INSERT SQL statement?
92 views
Asked by Niels Kristian
Sort on a polimorphyc association
54 views
Asked by Hernan Acosta
How do I escape a MySql reserved name in ActiveRecord Relations?
79 views
Asked by GLaDOS
Is there a way to create an arel_table from a query?
554 views
Asked by Francisco Herrerias-Azcue
Rails query for a record with distinct set of associations
44 views
Asked by user137717
Select records from table where column value is contained in string (mysql with ActiveRecord)
752 views
Asked by dthegnome
Rails & Groupdate gem to find users with more than X videos per month
211 views
Asked by Dan Weaver
db:migrate - unknown keyword: :klass - arel issue
165 views
Asked by Dan Ruxton
How to write `(SELECT @row_index:=-1) AS r` in Arel?
83 views
Asked by user20795798
How to extract JSON element within an Arel query on Postgres (Rails 5.2.4)?
498 views
Asked by user1185081
Query that checks overlap with composed timeframe (postgres, ActiveRecord)
114 views
Asked by Ismail Yilmaz
Trying to speed up finding an index in active record query
162 views
Asked by Jeremy Thomas
Transcribe the SQL to Arel
122 views
Asked by BrĂ¡ulio Lima
Arrange custom count in descending order using arel tables
47 views
Asked by Gotey