aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/collection_association.rb
Commit message (Expand)AuthorAgeFilesLines
* `CollectionAssociation#empty?` respects newly builded recordsYves Senn2013-01-131-1/+1
* Use separate Relation subclasses for each AR classJon Leighton2012-11-301-1/+1
* Remove the #sum method from CollectionAssociationCarlos Antonio da Silva2012-11-211-9/+0
* Nullify the relation at a more general level.Jon Leighton2012-11-091-2/+10
* Fix issue with collection associations and first(n)/last(n)Carlos Antonio da Silva2012-11-011-1/+3
* Fix has_many assocation w/select load after createErnie Miller2012-10-051-1/+1
* Count returns 0 without querying if parent is not savedFrancesco Rodriguez2012-10-031-0/+2
* Remove mass_assignment_options from ActiveRecordGuillermo Iguaran2012-09-161-10/+10
* Remove debug code :bomb:Rafael Mendonça França2012-09-161-1/+0
* Don't preserve SELECT columns on COUNTSteve Klabnik2012-09-161-1/+2
* Use inversed parent for first and last child of has_many associationbrainopia2012-08-181-1/+1
* Changing AR:CollectionAssociation#empty? to use #exists?beerlington2012-08-051-3/+11
* s/scoped/scope/Jon Leighton2012-08-011-10/+10
* Deprecate :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-08-011-1/+1
* Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-011-16/+69
* we don't need this argJon Leighton2012-07-201-2/+2
* Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-201-69/+16
* Remove obsolete line.Jon Leighton2012-07-201-1/+0
* 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