aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Ordering with extra spaces was raising a SQL exceptionFranck Verrot2011-07-241-0/+1
* avoid Symbol#to_procVijay Dev2011-07-201-1/+1
* ActiveRecord: Fix eager loading so that giving a blank order clause generates...Elliot Winkler2011-07-181-1/+1
* Merge pull request #1807 from caius/find_in_batches_id_bugSantiago Pastorino2011-07-141-2/+5
|\
| * Stop find_in_batches using the records after yielding.Caius Durling2011-06-211-2/+5
* | Merge pull request #1823 from gnarg/masterSantiago Pastorino2011-07-101-2/+2
|\ \
| * | Log instrumentation name for exists? queriesJon Guymon2011-06-221-2/+2
* | | fix AR having() not to raise NoMethodError when the given argument does not r...Akira Matsuda2011-07-091-3/+3
* | | Make `ActiveRecord::Batches#find_each` to not return `self`.knapo2011-07-071-2/+0
* | | Remove case statement changes from 2e0840d and 56ac32a. Inheritance FTW.Ernie Miller2011-07-061-1/+1
* | | Merge pull request #1273 from jeremyf/feature-association-proxy-sendSantiago Pastorino2011-07-061-0/+1
|\ \ \
| * | | Addresses an inconsistency in the ActiveRecord::Base.method_missing handling ...Jeremy Friesen2011-05-241-0/+1
* | | | Fixed AR::Relation#sum compatibility with Array#sumBogdan Gusiev2011-07-051-2/+6
* | | | 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