aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation.rb
Commit message (Expand)AuthorAgeFilesLines
* Skip query cache for in_batches and friendsEugene Kenny2017-07-061-13/+25
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Fix to scoping is correctly restoredRyuta Kamizono2017-06-291-1/+1
* `Relation#locked?` should not build arelRyuta Kamizono2017-06-201-1/+1
* Merge pull request #29003 from kamipo/delegate_ast_and_locked_to_arel_explicitlyMatthew Draper2017-05-281-0/+1
|\
| * Delegate `ast` and `locked` to `arel` explicitlyRyuta Kamizono2017-05-061-0/+1
* | Merge pull request #29237 from mohitnatoo/arel-update-docRafael França2017-05-261-3/+3
|\ \
| * | [ci skip] Changed sentence formation for ActiveRecordRelation#updateMohit Natoo2017-05-261-3/+3
| |/
* | Remove unused `left_joins_values` generationRyuta Kamizono2017-05-231-1/+1
* | Don't eager loading if unneeded for `FinderMethods#exists?`Ryuta Kamizono2017-05-111-2/+1
|/
* Load only needed records on ActiveRecord::Relation#inspectHendy Tanata2017-03-281-1/+3
* Simply delegate `as_json` to `records`Ryuta Kamizono2017-03-101-4/+0
* Remove deprecation of using ActiveRecord::Base instance in .updateRafael Mendonça França2017-01-031-2/+1
* Remove deprecated `#uniq`, `#uniq!`, and `#uniq_value`Ryuta Kamizono2016-12-301-9/+0
* Remove deprecated conditions parameter from #delete_allRafael Mendonça França2016-12-291-19/+11
* Remove deprecated conditions parameter from `#destroy_all`Rafael Mendonça França2016-12-291-10/+2
* fixing update_all and delete_all when chained with left_joins. fixes #27192Diego Plentz2016-11-271-2/+6
* docs, add `update_all` example with SQL fragment. [ci skip]Yves Senn2016-11-161-0/+3
* Avoid `build_preloader` if preloading is not neededRyuta Kamizono2016-11-141-2/+3
* Remove outdated "#TODO: Fix for binds." comment [ci skip]Ryuta Kamizono2016-09-111-1/+0
* Ensure that inverse associations are set before running callbacksSean Griffin2016-08-311-4/+4
* Switch back to `Hash.dup`Jon Moss2016-08-271-4/+2
* Remove over meta programming in AR::RelationBogdan Gusiev2016-08-231-9/+4
* code gardening: removes redundant selfsXavier Noria2016-08-081-1/+1
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-34/+34
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-6/+6
* Use `connection#to_sql` for construct an SQLRyuta Kamizono2016-07-191-10/+5
* Pass `pk: false` to `connection.insert` explicitly if do not have a primary keyRyuta Kamizono2016-07-011-1/+1
* Exists shouldn't error when used with `includes`Sean Griffin2016-05-301-6/+1
* Pass over all Rails 5 warnings, to make sure:Vipul A M2016-04-121-3/+3
* Merge pull request #24247 from ypxing/refactor_substitute_valuesAndrew White2016-04-041-5/+5
|\
| * enhance ActiveRecord#substitute_values to loop values just onceRick Xing2016-03-191-5/+5
* | Move sequence value methods to Model levelArthur Neves2016-03-241-2/+2
|/
* Mutating the result of Relation#to_a should not affect the relationMatthew Draper2016-02-211-14/+18
* Extract a Relation#arel_attributeMatthew Draper2016-02-041-4/+8
* Defer Arel attribute lookup to the model classMatthew Draper2016-02-041-4/+4
* `substitute_at` is no longer usedRyuta Kamizono2016-01-141-1/+1
* Fix user name in doc [ci skip]Ryuta Kamizono2015-12-311-1/+1
* `join_to_delete` is same as `join_to_update`Ryuta Kamizono2015-12-171-2/+2
* Revert "Merge pull request #22615 from kamipo/join_to_delete_is_same_as_join_...Rafael Mendonça França2015-12-171-2/+2
* `join_to_delete` is same as `join_to_update`Ryuta Kamizono2015-12-171-2/+2
* Revert "Perform a more efficient query in `Relation#any?`"Sean Griffin2015-12-141-1/+6
* Perform a more efficient query in `Relation#any?`Sean Griffin2015-12-141-6/+1
* Clean up and correct documentation for update_columns and update_all [ci skip]James Wen2015-12-051-3/+2
* Alias left_joins to left_outer_joinsTakashi Kokubun2015-10-311-1/+1
* Merge pull request #12071 from Crunch09/outer_joinsSean Griffin2015-10-301-1/+1
|\
| * added ActiveRecord::Relation#left_outer_joinsFlorian Thomas2015-05-191-1/+1
* | Add deprecation warning to `ActiveRecord::Relation#update`Ted Johansson2015-10-151-0/+7
* | applies new doc guidelines to Active Record.Yves Senn2015-10-141-31/+40