aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/collection_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Represent association scope options as AR::Relations insternally.Jon Leighton2012-07-131-5/+5
* Set the hash value directly instead of using merge!Carlos Antonio da Silva2012-06-211-1/+1
* Remove unneeded code since pluck is respecting joins nowRafael Mendonça França2012-06-191-12/+1
* Add support for CollectionAssociation#delete by Fixnum or StringFrancesco Rodriguez2012-05-281-0/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-191-10/+24
|\
| * move docs from CollectionAssociation to CollectionProxyFrancesco Rodriguez2012-05-181-113/+1
| * 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
* | Ensure that CollectionAssociation#replace returns proper targetPiotr Sarnacki2012-05-191-1/+1
* | no longer need #delete_all_on_destroyJon Leighton2012-05-181-7/+0
* | Perf: Don't load the association for #delete_all.Jon Leighton2012-05-181-2/+12
|/
* Merge pull request #5453 from JonRowe/patch_uniq_has_and_belongs_to_many_when...Aaron Patterson2012-05-161-2/+6
|\
| * when using a preloaded array and the uniq flag is set then return the size of...Jon Rowe2012-03-151-2/+6
* | Fix CollectionAssociation#replace to return new target (closes #6231)Piotr Sarnacki2012-05-161-0/+2
* | CollectionProxy < RelationJon Leighton2012-05-111-7/+1
* | Some refactor for association.kennyj2012-04-121-1/+1
|/
* In AR depths use &:to_i before :uniq to process mixed arrays likes ["1", 1] c...Alexey Vakhov2012-03-091-1/+1
* ids_reader method fixed, test added to has_many associationgregolsen2012-01-311-1/+1
* Remove Array.wrap calls in ActiveRecordRafael Mendonça França2012-01-061-3/+1
* Use 1.9 waySantiago Pastorino2012-01-051-6/+1
* bypass preloading for ids_readerSergey Nartimov2011-12-181-2/+10
* Fix #3672 again (dependent: delete_all perf)Jon Leighton2011-12-141-0/+7
* load has_many associations keyed off a custom primary key if that key is pres...Brian Samson2011-11-251-1/+1
* Merge pull request #3507 from jmazzi/issue-3503Jeremy Kemper2011-11-031-2/+6
* Changed a few instances of of words in the API docs written in British Englis...Oemuer Oezkir2011-07-241-1/+1
* Fix bug in collection_singular_ids on has many through association with condi...Anatoliy Lysenko2011-07-061-1/+1
* Fixed CollectionAssociation#find to be compatible with Array#findBogdan Gusiev2011-07-051-3/+7
* Assign the association attributes to the associated record before the before_...Jon Leighton2011-06-301-6/+0
* Replace inline lambdas with named methodsJon Leighton2011-06-121-29/+42
* Don't wrap operations on collection associations in transactions when they ar...benedikt2011-06-121-3/+9
* Don't double assign attributes - closes #1467.Andrew White2011-06-031-1/+0
* Only save the record once when calling create! on a collection association. F...Jon Leighton2011-05-311-19/+21
* Implementing @dmathieu's cleaner fix from #1425. Unfortunately he deleted the...Jon Leighton2011-05-311-8/+5
* Adding comment to work with 1.8.7. Nested Attribute fix.Arun Agrawal2011-05-311-0/+3
* Fix nested attribute for memory record.Arun Agrawal2011-05-311-1/+5
* Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-1/+1
* Pass the attribute and option hashes to build_associationAndrew White2011-05-171-2/+6
* These extra array operations appear to be unnecessary. Reasoning:Jon Leighton2011-05-141-8/+2
* CollectionAssociation#merge_target_lists should write to the underlying attri...Jon Leighton2011-05-141-5/+2
* An attempt to make CollectionAssociation#merge_target_lists make more sense.Jon Leighton2011-05-141-16/+35
* Instead of doing find(:all) which does scoped.find(:all) which does scoped.al...Jon Leighton2011-05-131-1/+1