aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Stop passing a column to `quote` in `Relation#to_sql`Sean Griffin2015-01-101-2/+3
* Merge pull request #11898 from prathamesh-sonpatki/patch-updateRafael Mendonça França2015-01-021-1/+13
|\
| * Allow ActiveRecord::Relation#update to run on result of a relation with callb...Prathamesh Sonpatki2014-12-201-1/+13
* | Fix error message when trying to create an associated recordRafael Mendonça França2014-12-301-1/+1
* | Inject the `PredicateBuilder` into the `Relation` instanceSean Griffin2014-12-261-7/+3
|/
* Move PredicateBuilder instantiation to constructorMelanie Gilman2014-12-031-4/+5
* Refactor `PredicateBuilder` from singleton to instanceMelanie Gilman2014-12-021-0/+4
* Update Arel usage for rails/arel#98fc259Sean Griffin2014-11-291-2/+2
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-4/+4
* Reword documentation for update_allRené van den Berg2014-11-241-8/+1
* Explain that default_scope also influences update_allRené van den Berg2014-11-201-5/+12
* pull the preloader allocation in to a factory methodAaron Patterson2014-11-181-1/+5
* Remove the unused second argument to `substitute_at`Sean Griffin2014-11-171-1/+1
* rm `reorder_bind_params`Sean Griffin2014-11-171-1/+0
* Use a bound parameter for the "id = " portion of update statementsSean Griffin2014-11-011-2/+8
* Use bind values for joined tables in where statementsSean Griffin2014-11-011-1/+1
* Don't needlessly alphabetize columns for insert/updateSean Griffin2014-11-011-4/+3
* delete leftover JoinOperation structswapdisc2014-10-141-2/+0
* Clarify `#update_all` doc about value processingNicolas Cavigneaux2014-10-141-1/+2
* Move #encode_with to RelationGustavo Beathyate2014-07-151-0/+5
* Merge pull request #14971 from versioncontrol/#14785Yves Senn2014-06-061-1/+8
|\
| * Fix Baseclass becomes! subclass.Edo Balvers2014-05-131-1/+8
* | Fix `Relation#delete_all` inconsistencyLeandro Facchinetti2014-05-161-3/+13
|/
* Merge branch 'master' into adequaterecordAaron Patterson2014-04-141-5/+6
|\
| * Make the comparison between 'Relation' and 'AssociationRelation'Lauro Caetano2014-04-121-1/+1
| * The comparison between `Relation` and `CollectionProxy` should be consistent.Lauro Caetano2014-04-111-0/+2
| * Merge pull request #14711 from swoker/activerecord_fix_aggregate_methods_with...Rafael Mendonça França2014-04-111-3/+2
| |\
| | * Fix error for aggregate methods with select, see issue #13648Simon Woker2014-04-101-3/+2
| * | Merge pull request #12829 from iantropov/issue_insert_via_hmt_scope_3548Rafael Mendonça França2014-04-101-2/+2
| |\ \ | | |/ | |/|
| | * Fix insertion of records for hmt association with scope, fix #3548Ivan Antropov2013-11-171-2/+2
* | | propogate bind values collected in arel to SQL generationAaron Patterson2014-04-111-1/+2
* | | remove the bind substitution visitor. to_sql should never return bind valuesAaron Patterson2014-04-091-5/+6
* | | use the compile method so we do not have to specify the collectors in this caseAaron Patterson2014-04-091-2/+1
* | | working against arel/collector branchAaron Patterson2014-04-091-1/+2