aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #36029 from kamipo/deprecate_where_notRyuta Kamizono2019-04-232-9/+26
|\
| * Deprecate `where.not` working as NOR and will be changed to NAND in Rails 6.1Ryuta Kamizono2019-04-192-9/+26
* | Don't table name qualify aggrigate column for virtual attributeRyuta Kamizono2019-04-221-4/+2
* | Remove useless `set_value` / `get_value` helper methodsRyuta Kamizono2019-04-221-15/+8
* | Give GeneratedRelationMethods module a nameRyuta Kamizono2019-04-191-1/+4
|/
* Clarify exists check in logsDan Fitch2019-04-091-1/+1
* Remove duplicated attribute alias resolution in `_select!`Ryuta Kamizono2019-04-091-6/+3
* Fix GROUP BY with calculate longer name field to respect `table_alias_length`Ryuta Kamizono2019-04-081-5/+6
* Don't repeat same expression in SELECT and GROUP BY clausesRyuta Kamizono2019-04-061-26/+20
* Stash `left_joins` into `joins` to deduplicate redundant LEFT JOINRyuta Kamizono2019-04-053-30/+30
* Fix `count(:all)` with eager loading and explicit select and orderRyuta Kamizono2019-04-041-4/+5
* Optimizer hints should be applied on Top level query as much as possibleRyuta Kamizono2019-04-042-3/+13
* Merge pull request #35727 from zinosama/zzz/update-doc-for-includesRyuta Kamizono2019-04-011-1/+7
|\
| * [ci skip] Update doc for unnecessary #referenceszino2019-03-231-1/+7
* | Add `ActiveRecord::Relation#extract_associated` for extracting associated rec...David Heinemeier Hansson2019-03-291-0/+13
|/
* Add Relation#annotate for SQL commentingMatt Yoho2019-03-211-1/+22
* Add test case for unscoping `:optimizer_hints`Ryuta Kamizono2019-03-181-1/+1
* Support Optimizer HintsRyuta Kamizono2019-03-161-0/+24
* Merge pull request #35503 from samjohn/cannot-grammar-correctionXavier Noria2019-03-072-2/+2
|\
| * Replace “can not” with “cannot”.Samantha John2019-03-062-2/+2
* | Fix incorrect identifier quoting [ci skip]Ryuta Kamizono2019-03-071-2/+2
|/
* Relax table name detection in `from` to allow any extension like INDEX hintRyuta Kamizono2019-03-011-2/+5
* Merge pull request #33611 from willianveiga/feature/reselect-methodAndrew White2019-03-011-0/+21
|\
| * Avoid creating an extra relation instanceWillian Gustavo Veiga2018-10-241-2/+9
| * Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-221-10/+8
| |\
| * \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-111-0/+30
| |\ \
| * \ \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-027-24/+30
| |\ \ \
| * | | | Add reselect methodWillian Gustavo Veiga2018-08-131-0/+14
* | | | | [ci skip] The `find` method coerces the given arguments to integer if the `pr...Mehmet Emin INAC2019-02-281-1/+1
* | | | | [ci skip] Fix the documentation of ActiveRecord::FinderMethods#findMehmet Emin INAC2019-02-281-2/+2
* | | | | Refactor `generated_relation_methods` to remove duplicated code on `ClassSpec...Ryuta Kamizono2019-02-281-31/+20
* | | | | fixes different `count` calculation when using `size` manual `select` with DI...jvillarejo2019-02-261-3/+8
* | | | | Fix `pluck` and `select` with `from` if `from` has original table nameRyuta Kamizono2019-02-221-1/+3
* | | | | Fix lint `ShadowingOuterLocalVariable`soartec-lab2019-02-211-3/+3
* | | | | Don't allow `where` with invalid value matches to nil valuesRyuta Kamizono2019-02-181-2/+4
* | | | | Fix eager loading polymorphic association with mixed table conditionsRyuta Kamizono2019-02-181-5/+1
* | | | | Merge pull request #35274 from AlexBrodianoi/fix_does_not_support_reverseRyuta Kamizono2019-02-171-1/+1
|\ \ \ \ \
| * | | | | Raise ActiveRecord::IrreversibleOrderError if nulls first/last is not a singl...Finn Young2019-02-171-1/+1
* | | | | | Fix `order` with custom attributesRyuta Kamizono2019-02-171-2/+8
* | | | | | Deprecate using class level querying methods if the receiver scope regarded a...Ryuta Kamizono2019-02-151-1/+1
|/ / / / /
* | | | | Revert "Chaining named scope is no longer leaking to class level querying met...Ryuta Kamizono2019-02-141-1/+1
* | | | | Fix `pluck` and `select` with custom attributesRyuta Kamizono2019-02-132-9/+19
* | | | | Fix `relation.exists?` with giving both `distinct` and `offset`Ryuta Kamizono2019-02-081-4/+8
* | | | | Refactor around scopingRyuta Kamizono2019-02-071-1/+1
* | | | | Relation no longer respond to Arel methodsRyuta Kamizono2019-02-061-1/+1
* | | | | Chaining named scope is no longer leaking to class level querying methodsRyuta Kamizono2019-02-061-1/+1
* | | | | activerecord: Fix statement cache for strictly cast attributesDylan Thacker-Smith2019-01-231-1/+1
* | | | | activerecord: Fix where nil condition on composed_of attributeDylan Thacker-Smith2019-01-181-4/+5
* | | | | All of queries should return correct result even if including large numberRyuta Kamizono2019-01-181-10/+0
* | | | | Use `unboundable?` rather than `boundable?`Ryuta Kamizono2019-01-181-7/+12