aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Fix build failures on PGSean Griffin2017-07-241-0/+4
* Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-2412-231/+109
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-1921-0/+42
* Merge branch 'master' into fix_unscope_where_column_with_orSean Griffin2017-07-184-14/+14
|\
| * Fix `JoinDependency` with using a custom tableRyuta Kamizono2017-07-183-7/+6
| * Fix `where` with a custom tableRyuta Kamizono2017-07-181-1/+1
| * Remove useless `arel_engine`Ryuta Kamizono2017-07-171-1/+1
| * Fix code formatting for QueryMethods#selectRobin Dupret2017-07-161-2/+3
| * Fix `create_with` using both string and symbolRyuta Kamizono2017-07-162-3/+3
* | Bugfix: unscope(where: [columns]) would not remove the correct binds sometimesMaxime Lapointe2017-07-131-1/+2
|/
* Skip query cache for in_batches and friendsEugene Kenny2017-07-064-6/+12
* Merge branch 'master' into require_relative_2017Xavier Noria2017-07-021-2/+2
|\
| * Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-0221-21/+0
| * Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-0221-0/+21
| |\
| | * Enforce frozen string in RubocopKir Shatrov2017-07-0121-0/+21
| * | Merge pull request #29506 from pat/frozen-string-literalsMatthew Draper2017-07-021-2/+2
| |\ \ | | |/ | |/|
| | * Make ActiveRecord frozen string literal friendly.Pat Allan2017-06-201-2/+2
* | | [Active Record] require => require_relativeAkira Matsuda2017-07-015-15/+15
|/ /
* | Fix the next version of Rails from 5.3 to 6.0Ryuta Kamizono2017-06-291-2/+2
* | Deprecate delegating to `arel` in `Relation`Ryuta Kamizono2017-06-291-0/+2
* | Merge pull request #28932 from kamipo/remove_method_missing_in_relation_deleg...Rafael França2017-06-281-10/+0
|\ \
| * | Remove `method_missing` in `Relation::Delegation`Ryuta Kamizono2017-04-301-10/+0
* | | Merge pull request #29405 from kamipo/locked_should_not_build_arelRafael França2017-06-283-8/+4
|\ \ \
| * | | Remove delegating to arel in a relationRyuta Kamizono2017-06-293-8/+4
| | |/ | |/|
* | | 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