aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* CollectionProxy < RelationJon Leighton2012-05-113-28/+33
* Return false for exists? with new records - fixes #6199.Andrew White2012-05-101-2/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-081-2/+2
|\
| * SpawnMethods#merge returns the intersection when passed an array, and not the...Mitch Crowe2012-05-051-2/+2
* | Use `take` instead of `first` to avoid unwanted implicit ordering (fixes #6147)Marcelo Silveira2012-05-051-4/+4
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-041-1/+1
|\
| * Lowercase.Ben Pickles2012-05-011-1/+1
* | clean up implementation of dynamic methods. use method compilation etc.Jon Leighton2012-05-041-41/+0
* | Use arel nodes instead of raw sqlMarcelo Silveira2012-05-021-3/+3
* | Use Array#first instead of Array#[0]Marcelo Silveira2012-05-021-5/+5
* | Introducing `take` as a replacement to the old behavior of `first`Marcelo Silveira2012-05-021-0/+27
* | Document `last`, check for primary key on default order and use quoted table ...Marcelo Silveira2012-05-021-2/+5
* | Made `first` finder consistent among database engines by adding aMarcelo Silveira2012-05-021-2/+18
|/
* return value of block is returnedAaron Patterson2012-04-301-2/+5
* only yield to finder block if something is foundAaron Patterson2012-04-301-1/+1
* Add ActiveRecord::Base#idstwinturbo2012-04-301-0/+10
* fix interpolation for hash mergingJon Leighton2012-04-252-20/+26
* allow merging a single where valueJon Leighton2012-04-251-1/+1
* Add documentation to the SpawnMethods#merge method.Mitch Crowe2012-04-171-0/+14
* extract deprecated code for #find, #first, #last, #allJon Leighton2012-04-131-105/+36
* extract deprecated #calculate codeJon Leighton2012-04-131-83/+25
* move code out to active_record_deprecated_findersJon Leighton2012-04-131-7/+2
* now we can just manipulate the values hash in #only and #exceptJon Leighton2012-04-132-32/+5
* use a hash to store relation valuesJon Leighton2012-04-133-30/+55
* doesn't make sense for select! to take a blockJon Leighton2012-04-131-8/+3
* remove apply_finder_options call from AssociationScopeJon Leighton2012-04-132-2/+2
* Make Relation#extending work like other value methodsJon Leighton2012-04-133-16/+9
* Add Relation#merge!Jon Leighton2012-04-131-9/+12
* assert valid keysJon Leighton2012-04-131-0/+5
* Allow Relation#merge to take a hashJon Leighton2012-04-132-46/+74
* we have no need for the ASSOCIATION_METHODS constantJon Leighton2012-04-132-3/+3
* refactoringJon Leighton2012-04-131-36/+45
* Extract clusterfuck method for surgeryJon Leighton2012-04-132-71/+92
* mention that coercion only happens when the primary key is an integer and use...Reg Braithwaite2012-04-121-2/+2
* Documents that ActiveRecord's find by id uses to_i to coerce its arguments to...Reg Braithwaite2012-04-121-1/+3
* Add bang versions of relation query methods.Jon Leighton2012-04-121-84/+135
* move apply_finder_options to active_record_deprecated_findersJon Leighton2012-04-121-22/+0
* Add Relation#find_by and Relation#find_by!Jon Leighton2012-03-301-0/+19
* Remove Arel::Relation constant from PredicateBuilder.Juanjo Bazán2012-03-271-2/+2
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-271-1/+1
|\
| * Missing generated query for pluck method. Juanjo Bazán2012-03-271-1/+1
* | Remove 'needless boolean casting'.Jack Chen (chendo)2012-03-261-1/+1
|/
* Remove IdentityMapCarlos Antonio da Silva2012-03-131-10/+0
* Add dynamic find_or_create_by_{attribute}! method.Andrew White2012-03-121-1/+1
* fix activerecord query_method regression with offset into FixnumDenis Jean2012-03-121-1/+1
* Merge pull request #5255 from carlosantoniodasilva/active-record-reviewPiotr Sarnacki2012-03-031-14/+13
|\
| * Refactor and cleanup in some ActiveRecord modulesCarlos Antonio da Silva2012-03-031-14/+13
* | Merge pull request #4984 from raghunadhd/change_orderhashVijay Dev2012-03-031-1/+1
|\ \ | |/ |/|
| * Refactored codeRaghunadh2012-02-101-1/+1
* | use bind values for join columnsAaron Patterson2012-02-273-6/+10