aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* | [ci skip] Fix ActiveRecord::Relation#update documentationakihiro172015-10-051-5/+5
* | File encoding is defaulted to utf-8 in Ruby >= 2.1Akira Matsuda2015-09-181-1/+0
* | Deprecate passing conditions to AR::Relation destroy_all and delete_all methodsWojciech Wnętrzak2015-09-061-13/+10
* | Add ActiveRecord::Relation#in_batchesSina Siadat2015-08-071-0/+7
* | Add #cache_key to ActiveRecord::Relation.Alberto F. Capel2015-07-201-0/+26
* | Include `Enumerable` in `ActiveRecord::Relation`Sean Griffin2015-06-191-20/+9
* | deprecate `Relation#uniq` use `Relation#distinct` instead.Yves Senn2015-05-261-1/+2
|/
* Fix documentation for find_or_create_byJoe Van Dyk2015-03-211-1/+3
* Optimize none? and one? relation query methods to use LIMIT and COUNT.Eugene Gilburg2015-02-121-0/+18
* Remove Relation#bind_paramsSean Griffin2015-01-271-9/+9
* Unify access to bind values on RelationSean Griffin2015-01-271-6/+4
* Move the `from` bind logic to a `FromClause` classSean Griffin2015-01-261-3/+3
* Remove `Relation#bind_values=`Sean Griffin2015-01-261-1/+1
* Change `having_values` to use the `WhereClause` classSean Griffin2015-01-261-3/+5
* Move `where_values_hash` over to `WhereClause`Sean Griffin2015-01-251-16/+1
* Introduce `Relation::WhereClause`Sean Griffin2015-01-251-3/+4
* Don't mutate bind values in `Relation`Sean Griffin2015-01-191-1/+0