aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Don't create new arrays when trying to compute non_empty_predicates for where...Vipul A M2016-04-181-1/+2
* Allow symbols using "dot notation" to be passed to whereSean Griffin2016-04-122-4/+4
* Pass over all Rails 5 warnings, to make sure:Vipul A M2016-04-122-3/+3
* Ensure associations still work when the table name contains a dotSean Griffin2016-03-312-2/+4
* [ci skip] Fix the FinderMethods#find documentakihiro172016-03-141-2/+2
* Merge pull request #23417 from sgringwe/masterRafael Mendonça França2016-03-011-9/+29
|\
| * Add initial support for allowing an error on order or limit of queries being ...Scott Ringwelski2016-02-021-9/+29
* | default second_to_last to primary_key index if no order suppliedBrian Christian2016-02-271-1/+7
* | refactor AR second_to_last to use array methodsBrian Christian2016-02-271-1/+6
* | 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