aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
...
| * Avoid to handle polymorphic association for `AssociationQueryHandler`Ryuta Kamizono2017-03-282-29/+21
* | Extract `construct_relation_for_exists` in `FinderMethods`Ryuta Kamizono2017-04-091-12/+15
* | Revert "Merge pull request #28598 from wnadeau/patch-1"Rafael Mendonça França2017-04-031-1/+1
* | FinderMethods#fourty_two docs cite proper sourceWinfred Nadeau2017-03-291-1/+1
|/
* Merge pull request #28488 from kamipo/preprocess_association_query_handlingRafael França2017-03-271-13/+8
|\
| * Always need to extract `value.bound_attributes` if `value.is_a?(Relation)`Ryuta Kamizono2017-03-251-3/+1
| * Preprocess association query handling in predicate builderRyuta Kamizono2017-03-201-11/+8
* | Fix where_clause#except with specific where valueJohn Hawthorn2017-03-201-2/+2
* | Use `load` rather than `collect` for force loadingRyuta Kamizono2017-03-191-1/+1
|/
* Delegate `uniq` to `records`Ryuta Kamizono2017-03-181-1/+1
* Merge pull request #28191 from eugeneius/string_assoc_orderRafael França2017-03-171-1/+6
|\
| * Allow order to be given expressions as hash keysEugene Kenny2017-02-271-1/+6
* | Merge pull request #28371 from kamipo/simplify_countAndrew White2017-03-121-7/+4
|\ \
| * | Simply forward `Calculations#count` to `Enumerable#count`Ryuta Kamizono2017-03-101-7/+4
* | | Simply delegate `as_json` to `records`Ryuta Kamizono2017-03-101-1/+1
|/ /
* | Merge pull request #25274 from kamipo/fix_find_nth_with_limit_valueAndrew White2017-02-261-3/+7
|\ \ | |/ |/|
| * Fix `find_nth` with `limit_value`Ryuta Kamizono2017-02-261-3/+7
* | Include selects in group query with having clauseEugene Kenny2017-02-261-0/+1
|/
* Merge pull request #28177 from kami-zh/remove-duplicated-privateAndrew White2017-02-261-102/+100
|\
| * Remove duplicated private methodkami-zh2017-02-261-102/+100
* | Remove useless `select_values += select_values`Ryuta Kamizono2017-02-261-1/+0
|/
* Suppress `DISTINCT` clause outside aggregate functionRyuta Kamizono2017-02-251-2/+2
* Merge pull request #27122 from kamipo/fix_unscope_with_subqueryRafael França2017-02-131-14/+26
|\
| * Refactor `except_predicates_and_binds` to avoid `tap`Ryuta Kamizono2017-02-131-12/+15
| * Fix unscope with subqueryRyuta Kamizono2016-12-051-10/+19
* | Merge pull request #27904 from kenta-s/add-methods-back-to-array-delegation-f...Eileen M. Uchitelle2017-02-101-0/+1
|\ \
| * | Delegate `to_sentence` and `to_fomatted_s` to `records`kenta-s2017-02-041-0/+1
* | | Revert "Remove useless `column_alias` in `subquery_for_count`"Ryuta Kamizono2017-02-071-2/+3
* | | Merge pull request #26378 from kamipo/decouple_building_arel_ast_for_uniquene...Jeremy Daer2017-02-061-3/+43
|\ \ \
| * | | Decouple the building Arel ASTs for uniqueness validatorRyuta Kamizono2016-12-251-3/+43
* | | | Remove useless `column_alias` in `subquery_for_count`Ryuta Kamizono2017-02-061-3/+2
| |/ / |/| |
* | | Fix grammar typo about sort in finder_methods.rbKevin Huang2017-01-301-2/+2
* | | Privatize unneededly protected methods in Active RecordAkira Matsuda2017-01-051-1/+1
* | | `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-053-3/+3
* | | Remove unneeded requires at active recordRafael Mendonça França2017-01-031-1/+0
* | | Raise ArgumentError when a instance of ActiveRecord::Base is passed toRafael Mendonça França2017-01-031-7/+5
* | | Mark internal cache constants as privateMatthew Draper2016-12-311-1/+4
* | | Remove deprecated `#uniq`, `#uniq!`, and `#uniq_value`Ryuta Kamizono2016-12-301-4/+0
* | | Remove deprecated support to passing arguments to `#select` when a block is p...Rafael Mendonça França2016-12-291-3/+1
* | | Remove deprecated support to query using commas on LIMITRafael Mendonça França2016-12-291-19/+2
* | | Remove deprecated support to passing a class as a value in a queryRafael Mendonça França2016-12-292-31/+0
* | | Raises IrreversibleOrderError when using last with an irreversible orderRafael Mendonça França2016-12-291-8/+0
* | | Merge pull request #26376 from kamipo/remove_polymorphic_base_class_for_arrayRafael França2016-12-291-3/+0
|\ \ \
| * | | Remove extracting `polymorphic_base_class` for `Array` in `AssociationQueryVa...Ryuta Kamizono2016-09-211-3/+0
* | | | Fix Rubocop violations and fix documentation visibilityRafael Mendonça França2016-12-281-98/+98
| |/ / |/| |
* | | Privatize unneededly protected methods in Active RecordAkira Matsuda2016-12-242-13/+11
* | | No need to nodoc private methodsAkira Matsuda2016-12-241-1/+1
* | | Describe what we are protectingAkira Matsuda2016-12-238-0/+16
* | | Translate numeric value out of range to the specific exceptionRyuta Kamizono2016-12-061-4/+4
| |/ |/|
* | Restore RecordNotFound when *_ids= can't find records by IDDominic Cleal2016-11-241-4/+4