aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Make `VALID_DIRECTIONS` to `Set`Ryuta Kamizono2017-05-201-3/+5
* Merge pull request #28919 from meinac/fix_ambigious_exception_message_of_sele...Kasper Timm Hansen2017-05-121-1/+1
|\
| * Fix ambigious error message of select query methodMehmet Emin INAC2017-05-081-1/+1
* | Don't eager loading if unneeded for `FinderMethods#exists?`Ryuta Kamizono2017-05-111-2/+4
* | Don't pass `arel.engine` to `Arel::SelectManager.new`Ryuta Kamizono2017-05-051-2/+1
|/
* Merge pull request #28828 from kamipo/fix_extending_modules_on_associationRafael França2017-04-251-0/+2
|\
| * Mixin `CollectionProxy::DelegateExtending` after `ClassSpecificRelation`Ryuta Kamizono2017-04-221-0/+2
* | `respond_to_missing?` should be privateRyuta Kamizono2017-04-221-5/+3
|/
* Merge pull request #28767 from kamipo/rename_to_association_query_valueAndrew White2017-04-153-8/+9
|\
| * Rename `association_query_handler.rb` to `association_query_value.rb`Ryuta Kamizono2017-04-153-8/+9
* | Early return in `PredicateBuilder::ArrayHandler`Ryuta Kamizono2017-04-151-4/+3
|/
* Merge pull request #28715 from kamipo/convert_association_queries_to_poro_que...Andrew White2017-04-144-60/+32
|\
| * `AssociationQueryValue#queries` returns an array for more concise association...Ryuta Kamizono2017-04-112-14/+7
| * Convert `PolymorphicArrayValue` to PORO queriesRyuta Kamizono2017-04-093-28/+19
| * Convert `AssociationQueryValue` to PORO queriesRyuta Kamizono2017-04-092-35/+23
* | exclude ORDER BY clause for exists? (#28699)Boris Slobodin2017-04-101-1/+1
* | Merge pull request #28713 from kamipo/expose_queries_for_association_queriesMatthew Draper2017-04-102-48/+44
|\|
| * Expose `queries` for `AssociationQueryValue` and `PolymorphicArrayValue`Ryuta Kamizono2017-04-092-21/+25
| * 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