aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/query_methods.rb
Commit message (Expand)AuthorAgeFilesLines
* Deduplicate joins valuesRyuta Kamizono2019-08-021-3/+3
* Preserve user supplied joins order as much as possibleRyuta Kamizono2019-07-301-16/+30
* Merge pull request #36412 from robotdana/compact_blankRafael Mendonça França2019-07-251-6/+6
|\
| * Use compact_blank throughout railsDana Sherson2019-06-051-6/+6
* | [ActiveRecord] Deduplicate optimizer hintsKir Shatrov2019-07-191-1/+1
* | PostgreSQL: Fix GROUP BY with ORDER BY virtual count attributeRyuta Kamizono2019-06-171-10/+15
* | Refactor `disallow_raw_sql!` to avoid `split(/\s*,\s*/)` to order argsRyuta Kamizono2019-06-091-0/+1
* | Allow quoted identifier string as safe SQL stringRyuta Kamizono2019-06-061-1/+1
|/
* Implicit through table joins should be appeared before user supplied joinsRyuta Kamizono2019-05-191-17/+11
* Fix merging left_joins to maintain its own `join_type` contextRyuta Kamizono2019-04-271-5/+5
* Avoid redundant `attribute_alias?` before `attribute_alias`Ryuta Kamizono2019-04-241-1/+1
* Merge pull request #36029 from kamipo/deprecate_where_notRyuta Kamizono2019-04-231-4/+17
|\
| * Deprecate `where.not` working as NOR and will be changed to NAND in Rails 6.1Ryuta Kamizono2019-04-191-4/+17
* | Remove useless `set_value` / `get_value` helper methodsRyuta Kamizono2019-04-221-15/+8
|/
* Remove duplicated attribute alias resolution in `_select!`Ryuta Kamizono2019-04-091-6/+3
* Stash `left_joins` into `joins` to deduplicate redundant LEFT JOINRyuta Kamizono2019-04-051-8/+23
* Optimizer hints should be applied on Top level query as much as possibleRyuta Kamizono2019-04-041-0/+9
* 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-071-1/+1
|\
| * Replace “can not” with “cannot”.Samantha John2019-03-061-1/+1
* | 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-021-4/+4
| |\ \
| * | | Add reselect methodWillian Gustavo Veiga2018-08-131-0/+14
* | | | 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
* | | | 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
|/ / / /
* | | / Fix `pluck` and `select` with custom attributesRyuta Kamizono2019-02-131-5/+17
| |_|/ |/| |
* | | Don't expose internal `get_value`/`set_value` methodsRyuta Kamizono2018-10-181-10/+8
| |/ |/|
* | Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-2/+2
* | Permit list usage cleanup and clearer documentationKevin Deisz2018-08-271-2/+2
* | Convert over the rest of the whitelist referencesKevin Deisz2018-08-241-2/+2
|/
* Use `construct_join_dependency` in all placesRyuta Kamizono2018-07-031-3/+1
* Ensure to calculate column aliases after all table aliases are constructedRyuta Kamizono2018-06-191-7/+9
* `get_value` needs to be a public methodGraham Turner2018-04-251-4/+5
* Fix relation merging with skip_query_cache!James Williams2018-04-191-2/+2
* Only preload misses on multifetch cacheLachlan Sylvester2018-03-061-0/+5
* Merge pull request #31133 from mohsen-alizadeh/sanitize_empty_and_nil_paramet...Matthew Draper2018-02-111-0/+1
|\
| * sanitize empty and nil parameters to selectMohsen Alizadeh2017-11-121-0/+1
* | Fix relation merger issue with `left_outer_joins`Mehmet Emin INAC2018-01-151-0/+2