aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* AR #second_to_last tests and finder methodsBrian Christian2016-02-271-4/+12
* Mutating the result of Relation#to_a should not affect the relationMatthew Draper2016-02-215-7/+7
* Add methods to array delegation from `Relation`Kevin Dougherty2016-02-191-1/+2
* Merge pull request #22365 from phuibonhoa/phuibonhoa/polymorphic_where_multip...Sean Griffin2016-02-173-4/+70
|\
| * Fixed `where` for polymorphic associations when passed an array containing di...Philippe Huibonhoa2016-02-163-4/+70
* | Show proper error message when a non-relation object is passed to AR::Relatio...Prathamesh Sonpatki2016-02-171-0/+4
|/
* Remove the method already overridden by private methodMehmet Emin İNAÇ2016-02-141-13/+0
* Merge pull request #23377 from bogdan/last-with-sqlEileen M. Uchitelle2016-02-132-9/+21
|\
| * Make ActiveRecord::Relation#last to reverse SQL orderBogdan Gusiev2016-02-132-9/+21
* | Fix grammar `a` to `an` [ci skip]Ryuta Kamizono2016-02-131-1/+1
|/
* remove warnings from FinderMethodsyuuji.yaginuma2016-02-111-4/+4
* rename to 'second_to_last' and 'third_to_last'Brian Christian2016-02-101-12/+12
* allow Array.penultimate and Array.antepenultiate access methodsBrian Christian2016-02-091-0/+32
* Extract a Relation#arel_attributeMatthew Draper2016-02-045-11/+11
* Defer Arel attribute lookup to the model classMatthew Draper2016-02-045-23/+13
* Revert "Merge pull request #16400 from bogdan/last-with-sql"Sean Griffin2016-02-011-17/+22
* Reworked ActiveRecord::Relation#last to always use SQLBogdan Gusiev2016-01-281-22/+17
* Merge pull request #23303 from Empact/find-nth-deprecationRafael França2016-01-281-11/+10
|\
| * Consistently warn that passing an offset to `find_nth` is deprecatedBen Woosley2016-01-271-11/+10
* | Introduce ActiveRecord::IrreversibleOrderErrorBogdan Gusiev2016-01-271-2/+16
* | Use bind parameters for ranges in where clausesSean Griffin2016-01-212-2/+36
* | Changed options for find_each and variants to have options start/finish inste...Vipul A M2016-01-182-47/+32
* | Properly include the `from` clause when merging relationsSean Griffin2016-01-141-0/+3
* | Improve error message for #or when it is structurally incompatibleRafael Mendonça França2016-01-131-6/+8
* | Revert "Change `WhereClause#merge` to same named columns on diff tables"Sean Griffin2016-01-121-10/+11
* | Change `WhereClause#merge` to same named columns on diff tablesSean Griffin2016-01-121-11/+10
* | activerecord: reuse immutable objectsTamir Duberstein2016-01-043-12/+14
* | activerecord: allocate fewer arrays in `RecordFetchWarning`Tamir Duberstein2016-01-041-6/+4
* | Merge pull request #22877 from kamipo/refactor_case_sensitive_comparisonRafael França2016-01-011-0/+1
|\ \
| * | Refactor `case_{sensitive|insensitive}_comparison`Ryuta Kamizono2016-01-011-0/+1
| |/
* / Improve example of #or to use different column values in the where clausesTim Sandberg2015-12-301-2/+2
|/
* Fix `first(limit)` to take advantage of `loaded?` records if availableBen Woosley2015-12-241-5/+20
* Deprecate passing `offset` to `find_nth`Ben Woosley2015-12-241-8/+16
* Merge pull request #22653 from matthewd/find_array_orderedMatthew Draper2015-12-181-0/+17
|\
| * Implement limit & offset for ourselvesMatthew Draper2015-12-181-6/+19
| * using order_values method instead of relying on ActiveRecord::Relation @value...Miguel Grazziotin2015-06-191-2/+2
| * WIP: fixing the limit bug and introducing new tests (failing for now) on .fin...Miguel Grazziotin2015-06-191-3/+5
| * do not change the order of the result if the object was already ordered by th...Miguel Grazziotin2015-06-051-0/+1
| * [#20338] improving implementation, fixing and adding some more specsMiguel Grazziotin2015-06-031-5/+2
| * [#20338] WIP: first basic implementation and specsMiguel Grazziotin2015-05-291-1/+5
* | remove extra spaces from deprecation messageyuuji.yaginuma2015-12-151-1/+2
* | Revert "Perform a more efficient query in `Relation#any?`"Sean Griffin2015-12-141-7/+2
* | Perform a more efficient query in `Relation#any?`Sean Griffin2015-12-141-2/+7
* | Use a bind param for `LIMIT` and `OFFSET`Sean Griffin2015-12-141-4/+30
* | Deprecate limit strings with commasSean Griffin2015-12-141-0/+6
* | Ensure `Relation` responds to `shuffle`Sean Griffin2015-12-011-1/+1
* | Docs: ActiveRecord::QueryMethods#joinsJared Beck2015-11-251-2/+22
* | Merge pull request #21000 from twalpole/find_or_parameter_issuesSean Griffin2015-11-231-0/+4
|\ \
| * | Update and fix forbidden attributes testsThomas Walpole2015-11-031-0/+4
* | | Remove blanket array delegation from `Relation`Sean Griffin2015-11-231-14/+2