aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Add support for passing mass assignment roles to dynamic finders. Closes #1170.Andrew White2011-05-211-2/+2
* Syntax cleanup: for in => eachGuillermo Iguaran2011-05-191-1/+1
* Bug fixes:Fadzril Muhamad & Joseph Palermo2011-05-121-5/+4
* Merge pull request #451 from baroquebobcat/fixing_last_for_issue_371Jon Leighton2011-05-081-1/+6
|\
| * Fix for #371Nick Howard2011-05-081-1/+6
* | Ensure that ORDER BY clauses from default scopes are not included in calculat...Jon Leighton2011-05-081-1/+1
|/
* supporting nil when passed in as an IN clauseAaron Patterson2011-04-291-1/+12
* deprecated the use of the guard_protected_attributes argument with attributes...Josh Kalderimis2011-04-251-2/+2
* stop using distinct on for the unique id queries. [#6450 state:resolved]Aaron Patterson2011-04-211-0/+2
* use index based substitution for bind parametersAaron Patterson2011-04-131-1/+1
* Evaluate default scopes at the last possible moment in order to avoid problem...Jon Leighton2011-04-122-4/+14
* 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