aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Collapse)AuthorAgeFilesLines
...
* | | add :call-seq: to +first+ and +last+ CollectionProxy methodsFrancesco Rodriguez2012-05-221-0/+6
| | |
* | | add CollectionProxy#create! documentationFrancesco Rodriguez2012-05-221-0/+22
| | |
* | | add CollectionProxy#create documentationFrancesco Rodriguez2012-05-221-0/+33
| | |
* | | add more examples to CollectionProxy#findFrancesco Rodriguez2012-05-221-0/+9
| | |
* | | adding :call-seq: to CollectionProxy methodsFrancesco Rodriguez2012-05-221-0/+39
| | |
* | | add CollectionProxy#build documentationFrancesco Rodriguez2012-05-221-0/+31
| | |
* | | remove repeated documentation in CollectionProxy#clearFrancesco Rodriguez2012-05-221-24/+2
| | |
* | | update CollectionProxy#clear documentationFrancesco Rodriguez2012-05-211-3/+2
| | |
* | | update CollectionProxy#delete_all documentationFrancesco Rodriguez2012-05-211-2/+29
| | |
* | | add CollectionProxy#delete_all documentationFrancesco Rodriguez2012-05-211-0/+65
| | |
* | | Fix AR preloader exampleAlexey Vakhov2012-05-221-1/+1
| | |
* | | fix CollectionProxy documentation markupFrancesco Rodriguez2012-05-211-8/+8
| | |
* | | add CollectionProxy#reload documentationFrancesco Rodriguez2012-05-211-0/+18
| | |
* | | improve CollectionProxy#destroy documentationFrancesco Rodriguez2012-05-211-5/+37
| | |
* | | add CollectionProxy#destroy documentationFrancesco Rodriguez2012-05-211-1/+42
| | |
* | | update CollectionProxy#destroy_all documentationFrancesco Rodriguez2012-05-201-1/+9
| | |
* | | Remove blank trailing commentsHenrik Hodne2012-05-201-1/+0
| | | | | | | | | | | | | | | | | | | | | For future reference, this is the regex I used: ^\s*#\s*\n(?!\s*#). Replace with the first match, and voilà! Note that the regex matches a little bit too much, so you probably want to `git add -i .` and go through every single diff to check if it actually should be changed.
* | | add CollectionProxy#select documentationFrancesco Rodriguez2012-05-191-2/+55
| | |
* | | add CollectionProxy#find documentationFrancesco Rodriguez2012-05-191-0/+20
|/ /
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-192-11/+293
|\ \
| * | copy edits [ci skip]Vijay Dev2012-05-191-17/+20
| | |
| * | add CollectionProxy#last documentationFrancesco Rodriguez2012-05-191-0/+27
| | |
| * | add CollectionProxy#first documentationFrancesco Rodriguez2012-05-191-0/+27
| | |
| * | improve CollectionProxy#concat documentationFrancesco Rodriguez2012-05-191-7/+18
| | |
| * | fix CollectionProxy#<< documentationFrancesco Rodriguez2012-05-191-1/+1
| | |
| * | add CollectionProxy#<< documentationFrancesco Rodriguez2012-05-191-0/+20
| | |
| * | add CollectionProxy#clear documentationFrancesco Rodriguez2012-05-191-0/+26
| | |
| * | add CollectionProxy#include? documentationFrancesco Rodriguez2012-05-181-0/+13
| | |
| * | move docs from CollectionAssociation to CollectionProxyFrancesco Rodriguez2012-05-182-114/+143
| | |
| * | remove incorrect example of CollectionAssociation#empty?Francesco Rodriguez2012-05-181-17/+0
| | |
| * | add docs to CollectionAssociation#empty?Francesco Rodriguez2012-05-181-3/+32
| | |
| * | add docs to CollectionAssociation#any?Francesco Rodriguez2012-05-181-0/+30
| | |
| * | add examples to CollectionAssociation#concatFrancesco Rodriguez2012-05-181-3/+14
| | |
| * | fix CollectionAssociation docsFrancesco Rodriguez2012-05-171-1/+1
| | |
| * | add example to CollectionAssociation#destroy_allFrancesco Rodriguez2012-05-171-3/+14
| | |
| * | add more explanation to CollectionAssociation docsFrancesco Rodriguez2012-05-171-0/+4
| | |
| * | add CollectionAssociation hierarchyFrancesco Rodriguez2012-05-171-2/+7
| | |
| * | add docs to CollectionAssociation#many?Francesco Rodriguez2012-05-171-1/+34
| | |
| * | fix CollectionAssociation#replace docsFrancesco Rodriguez2012-05-171-3/+3
| | |
| * | Add docs to CollectionAssociation#replaceFrancesco Rodriguez2012-05-171-3/+23
| | |
* | | Merge pull request #4835 from ↵Carlos Antonio da Silva2012-05-191-3/+3
|\ \ \ | | | | | | | | | | | | | | | | pacoguzman/refactor_define_restrict_dependency_method Refactor define_restrict_dependency_method using reflection
| * | | Refactor define_restrict_dependency_method using reflectionPaco Guzman2012-02-011-3/+3
| | | |
* | | | Ensure that CollectionAssociation#replace returns proper targetPiotr Sarnacki2012-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix commited in e2a070c was returning the `new_target`, as a try to return whatever user replaced association with. The problem is, the resulting association target may be ordered differently. In such case we want to return the target that will be later used for that association.
* | | | fix #delete_all with habtm with :delete_sqlJon Leighton2012-05-181-0/+1
| | | |
* | | | no longer need #delete_all_on_destroyJon Leighton2012-05-185-17/+2
| | | |
* | | | Perf: Don't load the association for #delete_all.Jon Leighton2012-05-184-10/+35
| |/ / |/| | | | | | | | Bug #6289
* | | Merge pull request #5453 from ↵Aaron Patterson2012-05-161-2/+6
|\ \ \ | | | | | | | | | | | | | | | | JonRowe/patch_uniq_has_and_belongs_to_many_when_already_loaded When Active Record has already loaded a unique association `.size` returns the wrong number.
| * | | when using a preloaded array and the uniq flag is set then return the size ↵Jon Rowe2012-03-151-2/+6
| | | | | | | | | | | | | | | | of the uniq array
* | | | Fix CollectionAssociation#replace to return new target (closes #6231)Piotr Sarnacki2012-05-161-0/+2
| | | |
* | | | Remove #=== quirkJon Leighton2012-05-111-6/+0
| | | | | | | | | | | | | | | | Makes it consistent with Relation. Can't see a use for this.