aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Fix exception if old and new targets are both nil. Fixes #1471.Jon Leighton2011-07-121-1/+1
* Merge pull request #1823 from gnarg/masterSantiago Pastorino2011-07-101-2/+2
|\
| * Log instrumentation name for exists? queriesJon Guymon2011-06-221-2/+2
* | to_key on a destroyed model should return nilSantiago Pastorino2011-07-091-1/+1
* | fix AR having() not to raise NoMethodError when the given argument does not r...Akira Matsuda2011-07-091-3/+3
* | Foo.joins(:bar).includes(:bar) should result in a single query with :bar as a...Jon Leighton2011-07-091-1/+11
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-094-30/+30
|\ \
| * | :conditions => whereAkira Matsuda2011-07-081-1/+1
| * | :joins => joinsAkira Matsuda2011-07-081-12/+12
| * | :include => includesAkira Matsuda2011-07-081-7/+7
| * | find(:first) => firstAkira Matsuda2011-07-082-6/+6
| * | find(:all) => allAkira Matsuda2011-07-083-22/+22
* | | Destroy association habtm record before destroying the record itself. Fixes i...Tomas D'Stefano2011-07-082-12/+17
* | | Ensure that the foreign key gets set when doing record.create_association or ...Jon Leighton2011-07-081-2/+11
* | | Refactor PostgreSQLAdapter a bitDaniel Schierbeck2011-07-081-16/+18
* | | Use Enumerable#with_index. We're on Ruby > 1.8.7Akira Matsuda2011-07-081-2/+1
* | | Merge pull request #1997 from knapo/masterSantiago Pastorino2011-07-071-2/+0
|\ \ \
| * | | Make `ActiveRecord::Batches#find_each` to not return `self`.knapo2011-07-071-2/+0
* | | | Add require ActiveSupport delegation to ActiveRecord::Relation class.Dmitriy Kiriyenko2011-07-071-0/+1
|/ / /
* | | Merge pull request #1120 from lysenko/collection_singular_idsSantiago Pastorino2011-07-061-1/+1
|\ \ \
| * | | Fix bug in collection_singular_ids on has many through association with condi...Anatoliy Lysenko2011-07-061-1/+1
* | | | Merge pull request #1989 from simonbaird/masterSantiago Pastorino2011-07-061-5/+8
|\ \ \ \
| * | | | Fix charset/collate in mysql recreate_databaseSimon Baird2011-07-071-5/+8
* | | | | Don't construct association scope in initializer. This yields a big performan...Jon Leighton2011-07-072-7/+11
* | | | | 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-062-1/+2
|\ \ \ \
| * | | | Addresses an inconsistency in the ActiveRecord::Base.method_missing handling ...Jeremy Friesen2011-05-242-1/+2
* | | | | Merge pull request #1979 from bogdan/association_sum_array_compatibilityJon Leighton2011-07-061-2/+6
|\ \ \ \ \
| * | | | | Fixed AR::Relation#sum compatibility with Array#sumBogdan Gusiev2011-07-051-2/+6
| | |_|/ / | |/| | |
* | | | | Merge pull request #1968 from bogdan/associations_find_array_compatibility2Santiago Pastorino2011-07-051-3/+7
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Fixed CollectionAssociation#find to be compatible with Array#findBogdan Gusiev2011-07-051-3/+7
* | | | | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-052-6/+6
|\ \ \ \ \
| * | | | | minor changesVijay Dev2011-06-271-2/+2
| * | | | | replace find(all) with allVijay Dev2011-06-261-3/+3
| * | | | | fix typo in method nameVijay Dev2011-06-251-1/+1
| * | | | | Revert "add missing methods supported by reversible migrations using the chan...Vijay Dev2011-06-251-4/+1
| * | | | | add missing methods supported by reversible migrations using the change methodVijay Dev2011-06-241-1/+4
| | |_|_|/ | |/| | |
* | | | | Only call set_owner_attributes for has_one association if target exists.Dieter Komendera2011-07-041-1/+1
| |/ / / |/| | |
* | | | Use an instance variable to store the current masss assignment optionsAndrew White2011-07-042-13/+18
| |_|/ |/| |
* | | Reversing the changes done in c278a2c while still resolving #1857.Vijay Dev2011-07-021-9/+5
* | | a few minor performance improvements: fewer strings, fewer range objects, few...Aaron Patterson2011-07-012-22/+13
* | | calling super is super. if the other object is exactly equal, we can return e...Aaron Patterson2011-07-011-1/+5
* | | remove unused codesAaron Patterson2011-07-011-4/+0
* | | reduce calls to owners_by_key and to read_attribute, respond_to? etcAaron Patterson2011-07-011-2/+3
* | | Remove AssociationReflection#create_association and AssociationReflection#cre...Jon Leighton2011-06-301-17/+0
* | | Assign the association attributes to the associated record before the before_...Jon Leighton2011-06-304-10/+12
* | | match method signature of the superclassAaron Patterson2011-06-302-4/+4
* | | call super rather than delegating to the other objects equal? methodAaron Patterson2011-06-301-1/+1
* | | just alias eql? to == for frewer method callsAaron Patterson2011-06-301-5/+1
* | | only calculate method name onceAaron Patterson2011-06-301-2/+3