aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-02-214-4/+28
|\
| * copy-edits 8d96b89Xavier Noria2011-02-212-8/+10
| |
| * Adding new examples for update_all methodRodrigo Navarro2011-02-201-0/+6
| |
| * Adding examplesRodrigo Navarro2011-02-201-0/+2
| |
| * Tpyo: fixing several cases of the theNicholas Rowe2011-02-191-1/+1
| |
| * Typo: fixing the theNicholas Rowe2011-02-191-1/+1
| |
| * Clarification of ActiveRecord ActiveModel validation documentationPeer Allan2011-02-182-2/+16
| |
* | instance_methods includes public and protected, so reduce funcalls and ↵Aaron Patterson2011-02-181-3/+2
| | | | | | | | object allocs
* | oops, no need for puts!Aaron Patterson2011-02-181-1/+0
| |
* | AR::AttributeMethods does not need to be included in an AR::Base class.Aaron Patterson2011-02-182-1/+67
| |
* | fixes a merge conflictXavier Noria2011-02-191-10/+0
|/
* merges docrailsXavier Noria2011-02-185-9/+16
|\
| * removes unrealistic example (authentication plus gender?), that it is not ↵Xavier Noria2011-02-181-4/+1
| | | | | | | | needed anyway
| * Clarify Example in ActiveRecord baseNicholas Rowe2011-02-181-1/+1
| |
| * Fix Typos: remove several occurences of the theNicholas Rowe2011-02-173-3/+3
| |
| * commas to set off expressions that interrupt sentence flowgenlinux2011-02-171-3/+3
| |
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-182-9/+1
|\ \
| * | Remove test which was broken on 1.8. This test is now irrelevant since ↵Jon Leighton2011-02-181-8/+0
| | | | | | | | | | | | singular associations no longer return a proxy object.
| * | just use the list of column names to generate attribute methodsAaron Patterson2011-02-181-1/+1
| | |
* | | Don't use skip, just don't run anything, we don't have skip in Ruby 1.8Emilio Tagua2011-02-182-8/+4
| | |
* | | No need to have reinit_with inside an InstanceMethods module.Emilio Tagua2011-02-181-17/+15
| | |
* | | Initialize @target instead asking if it is defined.Emilio Tagua2011-02-181-1/+2
| | |
* | | Should use "=" instead "replace" after this commit: ↵Emilio Tagua2011-02-181-1/+1
| | | | | | | | | | | | 1644663ba7f678d178deab2bf1629dc05626f85b
* | | No need to test agaisnt target.Emilio Tagua2011-02-181-1/+1
| | |
* | | Reindent and remove wrong line left in merge by mistake.Emilio Tagua2011-02-181-4/+3
| | |
* | | Use to_a instead :load in test, since :load changed.Emilio Tagua2011-02-181-1/+1
| | |
* | | No need to test against target anymore.Emilio Tagua2011-02-181-8/+8
| | |
* | | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-1838-771/+833
|\| | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association.rb activerecord/lib/active_record/fixtures.rb
| * | Split AssociationProxy into an Association class (and subclasses) which ↵Jon Leighton2011-02-1826-502/+392
| | | | | | | | | | | | manages the association, and a CollectionProxy class which is *only* a proxy. Singular associations no longer have a proxy. See CHANGELOG for more.
| * | Add :nodoc: to ThroughAssociation and HasOneAssociationJon Leighton2011-02-182-2/+2
| | |
| * | Allow building and then later saving has_many :through records, such that ↵Jon Leighton2011-02-187-12/+124
| | | | | | | | | | | | the join record is automatically saved too. This requires the :inverse_of option to be set on the source association in the join model. See the CHANGELOG for details. [#4329 state:resolved]
| * | Ensure that association_ids uses the correct attribute where the association ↵Jon Leighton2011-02-184-2/+20
| | | | | | | | | | | | is a has_many :through with a :primary_key option on the source reflection. [#6376 state:resolved]
| * | explicitly allowing lolqueriesAaron Patterson2011-02-162-13/+11
| | |
| * | use the arel table rather than generating stringsAaron Patterson2011-02-161-1/+1
| | |
| * | no need for Array.wrapAaron Patterson2011-02-161-1/+1
| | |
| * | fixing whitespace problemsAaron Patterson2011-02-161-3/+3
| | |
| * | removed an unnecessary second query when passing an ActiveRecord::Relation ↵Steven Fenigstein2011-02-162-2/+32
| | | | | | | | | | | | to a where clause. And added ability to use subselects in where clauses.
| * | fixture methods can be overridden and super() is usefulAaron Patterson2011-02-152-14/+32
| | |
| * | fixing variable names to reflect realityAaron Patterson2011-02-151-11/+11
| | |
| * | this is in the AR namespace, so AR must existAaron Patterson2011-02-151-1/+1
| | |
| * | Optimization for postgres adapter for add_column method. Set default and not ↵Timothy N. Tsvetkov2011-02-151-6/+10
| | | | | | | | | | | | null in one query
| * | fixing variable names, removing FixtureFile instances from test ivarsAaron Patterson2011-02-152-21/+14
| | |
| * | removing unused variableAaron Patterson2011-02-151-3/+1
| | |
| * | fixed broken link to postgresql docsSergii Boiko2011-02-151-1/+1
| | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | | Fix expected queries in relation tests.Emilio Tagua2011-02-151-2/+2
| | |
* | | Don't shadow outer local variable.Emilio Tagua2011-02-151-2/+2
| | |
* | | Run tests without IdentityMap when IM=false is given.Emilio Tagua2011-02-156-15/+23
| | |
* | | Remove identity map from benchmark script.Emilio Tagua2011-02-151-7/+0
| | |
* | | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-15158-3075/+5503
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/examples/performance.rb activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/nested_attributes.rb activerecord/test/cases/relations_test.rb
| * | bad tests are badAaron Patterson2011-02-141-18/+0
| | |