aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #29556 from kamipo/extract_ordered_relationRafael França2017-06-271-12/+11
|\
| * Extract `ordered_relation` in `FinderMethods`Ryuta Kamizono2017-06-241-12/+11
* | Fix extracting `references` via `order_values` to respect quotingRyuta Kamizono2017-06-261-1/+1
|/
* Don't require 'unscope' to be the same for both sides of a 'or' relation.Dan Sherson2017-06-151-1/+1
* Prevent making bind param if casted value is nilRyuta Kamizono2017-05-312-8/+13
* Don't expose methods and attrs for internal usageRyuta Kamizono2017-05-302-4/+10
* Merge pull request #29098 from kamipo/fix_association_with_extension_issuesMatthew Draper2017-05-301-2/+0
|\
| * Fix association with extension issuesRyuta Kamizono2017-05-281-2/+0
* | Deprecate passing arguments and block at the same time to `count` and `sum` i...Ryuta Kamizono2017-05-291-2/+20
* | Merge pull request #29003 from kamipo/delegate_ast_and_locked_to_arel_explicitlyMatthew Draper2017-05-281-0/+2
|\ \ | |/ |/|
| * Delegate `ast` and `locked` to `arel` explicitlyRyuta Kamizono2017-05-061-0/+2
* | Doc updates for ActiveRecord::BatchesT.J. Schuck2017-05-261-12/+12
* | Avoid circular require due to autoloadMatthew Draper2017-05-261-9/+9
* | 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
|\