aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* stop using deprecated methods in arelAaron Patterson2011-04-111-2/+2
* Use IM when trying to load records using ID.Emilio Tagua2011-04-041-0/+9
* Merge branch 'master' into zomgAaron Patterson2011-03-293-11/+23
|\
| * Quote find_in_batches ORDER BY clause [#6620 state:resolved]Andrew White2011-03-291-1/+1
| * Change exists? so that it doesn't instantiate records [#6127 state:resolved]Andrew White2011-03-291-4/+10
| * Bring #reorder backSebastian Martinez2011-03-281-0/+4
| * removes unnecessary selfs, and mentions that first! and last! take no argumen...Xavier Noria2011-03-261-4/+6
| * No arguments for first! and last!Pratik Naik2011-03-251-4/+4
| * comment typo fixJosh Susser2011-03-251-2/+2
* | Use Arel to build subquery. Adapt tests to changed fixtures.John Mileham2011-03-241-13/+12
* | Merge branch 'master' of github.com:rails/rails into count_behaviorJohn Mileham2011-03-244-3/+19
|\|
| * add #first! and #last! to models & relationsJosh Susser2011-03-241-0/+10
| * Merge branch 'master' into fuuuAaron Patterson2011-03-221-0/+6
| |\
| | * Reapply extensions when using except and onlyIain Hecker2011-03-211-0/+6
| * | Resolve some TODO comments which I decided did not need anything doneJon Leighton2011-03-121-1/+0
| * | Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-051-2/+2
| |\|
| | * use Arel::Table#alias rather than passing the :as parameterAaron Patterson2011-03-051-2/+2
| * | Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-046-74/+104
| |\|
| * | remove lasgn since AST is mutatedAaron Patterson2010-12-101-1/+1
| * | just mutate the ast, fewer lasgnsAaron Patterson2010-12-101-3/+2
* | | Change behavior of count(:limit => x, :offset => y) to limit/offset before co...John Mileham2011-03-031-14/+26
| |/ |/|
* | Move JoinDependency and friends from ActiveRecord::Associations::ClassMethods...Jon Leighton2011-02-282-4/+4
* | use an attribute rather than a SQL literalAaron Patterson2011-02-261-1/+1
* | removing limits and offsets from COUNT queries unless both are specified. [#6...Aaron Patterson2011-02-251-1/+13
* | merges docrailsXavier Noria2011-02-181-1/+1
|\ \
| * | Fix Typos: remove several occurences of the theNicholas Rowe2011-02-171-1/+1
* | | Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-1/+1
* | | explicitly allowing lolqueriesAaron Patterson2011-02-161-10/+1
* | | use the arel table rather than generating stringsAaron Patterson2011-02-161-1/+1
* | | no need for Array.wrapAaron Patterson2011-02-161-1/+1
* | | removed an unnecessary second query when passing an ActiveRecord::Relation to...Steven Fenigstein2011-02-161-1/+4
* | | Remove Relation#& alias for Relation#mergeErnie Miller2011-02-121-2/+0
* | | limit() should sanitize limit valuesAaron Patterson2011-02-081-1/+1
|/ /
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-02-051-1/+1
|\ \
| * | keep options titles consistent to "Options"Gabriel Horner2011-02-031-1/+1
* | | The type_cast_calculated_value method will trust DB types before casting to a...Ken Collins2011-02-031-1/+1
|/ /
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-01-201-0/+14
|\ \
| * | document ActiveRecord's except and onlyJordi Romero2011-01-151-0/+14
* | | Always return decimal average of integer fieldsRaimonds Simanovskis2011-01-101-9/+5
* | | use select_all because not all database adapters support bind valuesAaron Patterson2011-01-081-1/+1
* | | stop creating intermediate AR objects, just construct AR objects from a list ...Aaron Patterson2011-01-071-1/+2
* | | Explicitly select * from has_and_belongs_to_many association tables, simplify...Raimonds Simanovskis2011-01-041-1/+1
* | | ActiveRecord::Relation#primary_key should return a string, just like ActiveRe...Jon Leighton2011-01-034-14/+14
* | | Make Relation#create_with always merge rather than overwrite, not just when m...Jon Leighton2011-01-032-4/+2
* | | Let AssociationCollection#find use #scoped to do its finding. Note that I am ...Jon Leighton2011-01-031-1/+1
* | | User id instead of quoted_id to prevent double quoting. Fixes failing test fo...Robert Pankowecki (Gavdi)2011-01-041-1/+1
* | | Rename AssociationReflection#primary_key_name to foreign_key, since the optio...Jon Leighton2010-12-311-1/+1
* | | Specify the STI type condition using SQL IN rather than a whole load of ORs. ...Jon Leighton2010-12-311-1/+5
|/ /
* | arel can escape the id, so avoid using the database connectionAaron Patterson2010-12-221-1/+1
* | Arel::Table#[] always returns an attribute, so no need for ||Aaron Patterson2010-12-221-1/+1