aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Add ActiveRecord::Relation#uniq for toggling DISTINCT in the SQL queryJon Leighton2011-11-051-6/+24
* copy edits 908f2616Vijay Dev2011-09-201-4/+4
* Document ActiveRecord::QueryMethods#selectRyan Bigg2011-09-171-0/+29
* minor editVijay Dev2011-09-141-1/+1
* Add documentation for the extending method in ActiveRecord:QueryMethodsRyan Bigg2011-09-141-0/+36
* Merge pull request #2485 from akaspick/exists_fixJon Leighton2011-09-071-1/+3
|\
| * fix exists? to return false if passed nil (which may come from a missing URL ...Andrew Kaspick2011-08-101-1/+3
* | Use LIMIT sql word in last when it's possibleDamien Mathieu2011-09-051-1/+5
* | use LIMIT SQL word in first - Closes #2783Damien Mathieu2011-09-051-1/+1
* | We need to recorder here. Need to drop the order from default scope.Arun Agrawal2011-09-051-1/+1
* | Revert "Fixes bug in ActiveRecord::QueryMethods, #1697"Jon Leighton2011-09-041-2/+4
* | Fixes bug in ActiveRecord::QueryMethods, #1697Joshua Wehner2011-08-311-4/+2
* | The join_nodes must be passed to the JoinDependency initializer and therefore...Jon Leighton2011-08-291-7/+2
* | Fix PredicateBuilder clobbering select_values in subquery.Ernie Miller2011-08-201-1/+1
* | Fix assumption of primary key name in PredicateBuilder subquery.Ernie Miller2011-08-201-1/+1
|/
* Make it the responsibility of the connection to hold onto an ARel visitor for...Jon Leighton2011-08-082-5/+5
* Revert "Merge pull request #2309 from smasry/master"Jon Leighton2011-07-281-1/+1
* Reverse order fix when using function for ActiveRecord::QueryMethods Fixes #1697Samer Masry2011-07-271-1/+1
* Fixed failing query when performing calculation with having based on select.Dmitriy Kiriyenko2011-07-271-0/+1
* Revert "allow select to have multiple arguments"Piotr Sarnacki2011-07-261-6/+3
* allow select to have multiple argumentsSławosz Sławiński2011-07-261-3/+6
* 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