aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Fix caseOriol Gual2011-06-281-2/+1
* Update reverse order with new Arel NodesOriol Gual2011-06-281-1/+2
* default create_with_value to a hash so we can eliminate conditionals, add tes...Aaron Patterson2011-06-272-2/+2
* Apply the default scope earlier when doing calculations. Fixes #1682.Jon Leighton2011-06-231-5/+11
* Support reversal of ARel orderings in reverse_sql_orderErnie Miller2011-06-201-3/+12
* Fix issue #1272Brian Mathiyakom2011-06-011-8/+7
* Ensure that calculations properly override the select value even if it's set ...Jon Leighton2011-05-311-2/+2
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-252-5/+5
|\
| * Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-232-5/+5
* | 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