aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/query_methods.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* [Active Record] require => require_relativeAkira Matsuda2017-07-011-4/+4
* 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
* Make `VALID_DIRECTIONS` to `Set`Ryuta Kamizono2017-05-201-3/+5
* Fix ambigious error message of select query methodMehmet Emin INAC2017-05-081-1/+1
* Allow order to be given expressions as hash keysEugene Kenny2017-02-271-1/+6
* `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-1/+1
* Remove unneeded requires at active recordRafael Mendonça França2017-01-031-1/+0
* Remove deprecated `#uniq`, `#uniq!`, and `#uniq_value`Ryuta Kamizono2016-12-301-4/+0
* Remove deprecated support to passing arguments to `#select` when a block is p...Rafael Mendonça França2016-12-291-3/+1
* Remove deprecated support to query using commas on LIMITRafael Mendonça França2016-12-291-19/+2
* Call `spawn` and bang method for `none`Ryuta Kamizono2016-11-141-1/+1
* let Regexp#match? be globally availableXavier Noria2016-10-271-1/+0
* Fix regression caused due to removal of select method from CollectionAssociationPrathamesh Sonpatki2016-10-221-1/+10
* Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-16/+16
* Fix Remaining Case-In-Assignment Statement FormattingAlex Kitchens2016-09-061-5/+6
* Remove not used alias methodyui-knk2016-09-061-1/+0
* Add `Type.default_value` and use it everywhere for internalRyuta Kamizono2016-08-261-2/+2