aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Remove unused `predicate_builder` for `BasicObjectHandler` and `RangeHandler`Ryuta Kamizono2016-07-023-19/+3
* Merge pull request #25271 from kamipo/prevent_range_error_for_existsSean Griffin2016-06-151-1/+3
|\
| * Prevent `RangeError` for `FinderMethods#exists?`Ryuta Kamizono2016-06-161-1/+3
* | Fix `calculate` with a string value in `from` and eager loadingRyuta Kamizono2016-06-131-9/+1
* | Fix `or` result SQL [ci skip]Ryuta Kamizono2016-06-111-1/+1
|/
* Merge pull request #25179 from kamipo/reuse_result_of_associated_tableSean Griffin2016-05-301-2/+3
|\
| * Reuse a result of `table.associated_table(column)` in `AssociationQueryHandle...Ryuta Kamizono2016-05-281-2/+3
* | Exists shouldn't error when used with `includes`Sean Griffin2016-05-301-3/+3
|/
* Remove unused `association_for_table` private methodRyuta Kamizono2016-05-271-6/+0
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-1/+1
* Merge pull request #24203 from sferik/count_with_blockKasper Timm Hansen2016-05-161-1/+5
|\
| * Forward ActiveRecord::Relation#count to Enumerable#count if block givenErik Michaels-Ober2016-03-191-1/+5
* | Allow the connection adapters to determine the order of bind paramsSean Griffin2016-05-061-4/+10
* | Merge pull request #24868 from vipulnsward/delegate_encode_withRafael França2016-05-051-1/+1
|\ \
| * | delegate encode_with instead of to_yaml, which is deprecatedVipul A M2016-05-051-1/+1
* | | do not pass conditions to `#destroy_all` [ci skip]yuuji.yaginuma2016-05-051-1/+1
|/ /
* | Merge pull request #24317 from Gaurav2728/unused_set_in_active_recordJeremy Daer2016-04-191-1/+0
|\ \
| * | connection adapters column, delegation in Active Record have not use of ‘se...Gaurav Sharma2016-03-311-1/+0
| |/
* | 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