SQL : Find_by_sql as a Rails scope

SQL : Find_by_sql as a Rails scope

How to write Rails scope for this SQL queryПодробнее

How to write Rails scope for this SQL query

SQL : Rails: Sort nils to the end of a scope?Подробнее

SQL : Rails: Sort nils to the end of a scope?

SQL : Scope with order in Rails 3.2.11 on has_one associationПодробнее

SQL : Scope with order in Rails 3.2.11 on has_one association

SQL : complex join in scope in Rails ActiveRecordПодробнее

SQL : complex join in scope in Rails ActiveRecord

SQL : rails nested has_many with foreign scope join misses to join table: sql errorПодробнее

SQL : rails nested has_many with foreign scope join misses to join table: sql error

SQL : Ruby on Rails - Scope with Join and OrderПодробнее

SQL : Ruby on Rails - Scope with Join and Order

SQL : Rails query/scope: exclude objects according to attribute of joined modelПодробнее

SQL : Rails query/scope: exclude objects according to attribute of joined model

SQL : Rails 3.1 scope ignored when joining twice to the same tableПодробнее

SQL : Rails 3.1 scope ignored when joining twice to the same table

SQL : Rails scope for IS NOT NULL and is not empty/blank?Подробнее

SQL : Rails scope for IS NOT NULL and is not empty/blank?

SQL : Rails 3 get sql from scopeПодробнее

SQL : Rails 3 get sql from scope

SQL : Trying to create a rails model scope query for records since date x, use a lambda?Подробнее

SQL : Trying to create a rails model scope query for records since date x, use a lambda?

SQL : rails scope to check if association does NOT existПодробнее

SQL : rails scope to check if association does NOT exist

SQL : rails scope and joinsПодробнее

SQL : rails scope and joins

SQL : Why does this Rails named scope return empty (uninitialized?) objects?Подробнее

SQL : Why does this Rails named scope return empty (uninitialized?) objects?

SQL : How to transform sort_by with conditions into a rails scopeПодробнее

SQL : How to transform sort_by with conditions into a rails scope

Популярное