aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
Commit message (Collapse)AuthorAgeFilesLines
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-1/+1
| | | | | | | | | | | - persisted? is the API defined in ActiveModel - makes it easier for extension libraries to conform to ActiveModel APIs without concern for whether the extended object is specifically ActiveRecord [#5927 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* reduce duplication in assiciations #construct()Aaron Patterson2010-11-061-9/+3
|
* make sure we keep parent records in orderAaron Patterson2010-11-061-6/+6
|
* only call to_s on the association variable onceAaron Patterson2010-11-051-2/+5
|
* simplify instantiate in the join parts objectAaron Patterson2010-11-051-8/+7
|
* index is not used, so removing itAaron Patterson2010-11-051-1/+1
|
* reduce method calls to the join base objectAaron Patterson2010-11-051-4/+6
|
* refactoring find_join_associationAaron Patterson2010-10-301-5/+6
|
* Fix issues when including the same association multiple times and mixing ↵Ernie Miller2010-10-301-11/+37
| | | | joins/includes together.
* removing space errorsAaron Patterson2010-10-221-45/+45
|
* Delete unused methods in JoinAssociationJon Leighton2010-10-131-8/+0
|
* Renaming and formatting changes in JoinDependencyJon Leighton2010-10-131-47/+51
|
* Refactor JoinDependency and friends so that a JoinAssociation can produce an ↵Jon Leighton2010-10-131-145/+265
| | | | arbitrary number of joins, which will be needed in order to support nested through associations.
* avoid a proc objectAaron Patterson2010-09-221-1/+1
|
* avoid creating a range objectAaron Patterson2010-09-221-1/+1
|
* drying up construct_associationAaron Patterson2010-09-211-15/+15
|
* dry up some conditionalsAaron Patterson2010-09-211-3/+4
|
* fixing case / when indentationAaron Patterson2010-09-211-19/+19
|
* fix case / when indentationAaron Patterson2010-09-211-18/+18
|
* avoid a hash lookupAaron Patterson2010-09-211-2/+2
|
* refacoring duplicate code. <3 <3 <3Aaron Patterson2010-09-211-2/+3
|
* this reject can be replaced with compactAaron Patterson2010-09-211-1/+1
|
* removing unused codeAaron Patterson2010-09-211-2/+1
|
* remove some repeated codeAaron Patterson2010-09-211-2/+2
|
* break up giant methodAaron Patterson2010-09-211-62/+72
|
* removing lolinjectAaron Patterson2010-09-211-1/+1
|
* remove join table rows before removing owner row for habtm associations, ↵Hemant Kumar2010-09-211-1/+1
| | | | fixes#5674
* providing arel with column information when possible [#5392 state:resolved]Aaron Patterson2010-09-211-3/+10
|
* Use new finders syntax in docs.Emilio Tagua2010-09-011-1/+1
|
* lifecycle should be two words, life cycleJaime Iniesta2010-08-261-1/+1
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-172/+172
| | | | 's/[ \t]*$//' -i {} \;)
* converting to a symbol is not necessaryAaron Patterson2010-08-131-1/+1
|
* Removing most of the symbol to proc usage in Active RecordPrem Sichanugrist2010-08-131-6/+6
| | | | This will hopefully make Active Record run a bit more faster.
* be more precise re :validate and :autosaveXavier Noria2010-08-121-4/+4
|
* revises some autosave docs, style and contentXavier Noria2010-08-121-2/+1
|
* adding more documentation for autosave optionNeeraj Singh2010-08-091-1/+2
|
* updating documentation for method configure_dependency_for_has_manyNeeraj Singh2010-08-061-8/+5
|
* Merge remote branch 'docrails/master' into 3-0-stableXavier Noria2010-08-031-182/+269
|\
| * ensuring that documentation does not exceed 100 columnsNeeraj Singh2010-08-011-180/+267
| |
| * fixing documentation just a little bitNeeraj Singh2010-07-311-2/+2
| |
* | Remove duplicated logic.José Valim2010-08-021-7/+9
| |
* | Eager loading an association should not change the count of childrenNeeraj Singh2010-08-021-0/+4
| | | | | | | | | | | | [#4971 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Tidy up previous commit.José Valim2010-08-021-3/+3
| |
* | test and fix collection_singular_ids= with string primary keys [#5125 ↵Robert Pankowecki2010-08-021-1/+3
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Add an internal (private API) after_touch callback. [#5271 state:resolved]José Valim2010-08-021-0/+1
|/
* removed ambiguity from autosave descriptionSimon Tokumine2010-07-281-1/+1
|
* Added missing require of remove_methodŁukasz Strzałkowski2010-07-191-0/+1
|
* Make use of redefine_method, removed some more redefining warningsŁukasz Strzałkowski2010-07-191-27/+12
|
* Removed warnings about method redefiningŁukasz Strzałkowski2010-07-191-9/+24
|
* JoinDependency#graft does not properly set parent join [#5124 state:resolved]David Genord II2010-07-161-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>