aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/query_methods.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Merge pull request #28313 from sandrew/masterRyuta Kamizono2018-01-151-2/+3
|\ \
| * | Allow unscoping of left_outer_joinsAndrei Shaidurov2017-03-061-1/+1
* | | Don't need to pass `manager` to `convert_join_strings_to_ast`Ryuta Kamizono2018-01-141-2/+2
* | | Partial revert the changing default value of `readonly_value`Ryuta Kamizono2018-01-051-13/+2
* | | Place args normalization from `left_outer_joins` to `left_outer_joins!`Ryuta Kamizono2017-12-201-4/+2
* | | Using table name qualified column names unless having SELECT list explicitlyRyuta Kamizono2017-12-181-2/+2
* | | Make `sanitize_sql_` methods publicyuuji.yaginuma2017-12-131-1/+1
* | | Quote colum_names when building select:Edouard CHIN2017-12-111-1/+1
* | | Merge pull request #27947 from mastahyeti/unsafe_raw_sqlMatthew Draper2017-11-141-1/+13
|\ \ \
| * | | push order arg checks down to allow for bindsBen Toews2017-11-091-27/+6
| * | | deal with Array arguments to #orderBen Toews2017-11-091-1/+13
| * | | convert order arg to string before checking if we can reverse itBen Toews2017-11-091-0/+4
| * | | use << instead of #concat in #reverse_sql_order because we might be working w...Ben Toews2017-11-091-1/+1
| * | | try using regexesBen Toews2017-11-091-19/+2
| * | | allow table name and direction in string order argBen Toews2017-11-091-2/+24
| * | | call enforce_raw_sql_whitelist on @klass so it works with FakeKlassBen Toews2017-11-091-2/+2
| * | | work with actual string when reversing orderBen Toews2017-11-091-0/+3
| * | | allow Arel.sql() for pluckBen Toews2017-11-091-47/+7
| * | | add config to check arguments to unsafe AR methodsBen Toews2017-11-091-0/+49
* | | | Merge pull request #30980 from sobrinho/sobrinho/arel-star-ignored-columnsRafael França2017-11-131-0/+2
|\ \ \ \ | |_|_|/ |/| | |
| * | | Do not use `Arel.star` when `ignored_columns`Jon Moss2017-11-131-0/+2
| |/ /
* | | Ensure `apply_join_dependency` for subqueries in `from` and `where`Ryuta Kamizono2017-11-101-0/+3
* | | Move Attribute and AttributeSet to ActiveModelLisa Ugray2017-11-091-2/+2
|/ /
* | Fix duplicate aliases when using both INNER/LEFT JOINsRyuta Kamizono2017-10-231-3/+4
* | [Active Record] require => require_relativeAkira Matsuda2017-10-211-4/+4
* | Joined tables in association scope doesn't use the same aliases with the pare...Ryuta Kamizono2017-10-091-11/+11
* | Decouple building `AliasTracker` from `JoinDependency`Ryuta Kamizono2017-10-081-1/+1
* | Use __callee__ to pass alias instead of original method namemeganemura2017-10-051-1/+1
* | PERF: Recover `ActiveRecord::pluck` performance.Guo Xiang Tan2017-09-061-14/+17
* | Merge pull request #29914 from kamipo/relation_merger_should_not_fill_empty_v...Matthew Draper2017-08-021-9/+10
|\ \
| * | `get_value` and `set_value` in `Relation` are no longer used externallyRyuta Kamizono2017-07-251-9/+10
* | | Allow `Relation#or` to accept a relation with different `references`Sean Griffin2017-07-251-1/+2
* | | Remove useless `JoinInformation`Ryuta Kamizono2017-07-251-5/+2
|/ /
* | Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-28/+16
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* | Fix `JoinDependency` with using a custom tableRyuta Kamizono2017-07-181-3/+1
* | Fix `where` with a custom tableRyuta Kamizono2017-07-181-1/+1
* | Fix code formatting for QueryMethods#selectRobin Dupret2017-07-161-2/+3
* | Fix `create_with` using both string and symbolRyuta Kamizono2017-07-161-1/+1
* | Skip query cache for in_batches and friendsEugene Kenny2017-07-061-0/+5