aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/collection_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Avoid duplicated conditionalsCarlos Antonio da Silva2014-03-141-2/+1
* passing an ActiveRecord object to `exists?` is deprecated.Aaron Patterson2014-03-131-1/+1
* Remove unnecessary db call when replacing.Arthur Neves2014-02-281-1/+3
* let `insert_record` actuall save the object.Aaron Patterson2014-02-251-2/+2
* Revert "speed up the collection proxy reader method, but slow down the constr...Arthur Neves2014-02-201-5/+1
* speed up the collection proxy reader method, but slow down the constructorAaron Patterson2014-02-131-1/+5
* Ensure AR #second, #third, etc. finders work through associationsJason Meller2014-01-211-5/+25
* Merge pull request #10134 from derikson/collection_proxy_select_with_multiple...Rafael Mendonça França2014-01-031-2/+2
|\
| * Changed ActiveRecord::Associations::CollectionProxy#select to take multiple a...Dan Erikson2013-04-081-2/+2
* | Merge pull request #13417 from TalkativeTree/comments_changeRichard Schneeman2013-12-191-1/+1
|\ \
| * | change CollectionAssociation's comments to say Association instead of Associa...Ben Angel2013-12-191-1/+1
* | | Mark the arguments needed by activerecord-deprecated_finders with a TODORafael Mendonça França2013-12-111-0/+2
* | | Revert "Merge pull request #12518 from vipulnsward/remove_count_options"Rafael Mendonça França2013-12-111-1/+3
|/ /
* | Fix wrong behavior where associations with dependent: :destroy optionsRafael Mendonça França2013-11-011-4/+2
* | `Relation#count` doesn't use options anymore.Vipul A M2013-10-131-3/+1
* | remove HABTM associationsAaron Patterson2013-10-021-1/+0
* | fix .find when inverse is setArthur Neves2013-09-251-5/+4
* | Merge pull request #10500 from kennyj/fix_10450Rafael Mendonça França2013-09-221-3/+3
|\ \
| * | Fixed a bug in when using has_many association with :inverse_of option and U...kennyj2013-05-081-3/+3
| |/
* | Merge pull request #12137 from lann/fix_association_first_lastRafael Mendonça França2013-09-121-3/+1
|\ \
| * | Make CollectionAssociation first/last with integer fetch with queryLann Martin2013-09-091-3/+1
* | | ask the association for records rather than calling `send`Aaron Patterson2013-09-101-1/+2
|/ /
* | Restore the use of `#add_to_target` for nested attribute updates on existing ...Ben Woosley2013-08-121-4/+4
* | do is_a? tests on assignment so runtime is fasterAaron Patterson2013-07-311-8/+1
* | callback should always have a valueAaron Patterson2013-07-311-1/+1
* | no need to to_symAaron Patterson2013-07-311-1/+1
* | add a specific factory method rather than using newAaron Patterson2013-07-231-1/+1
* | fix indentationNeeraj Singh2013-07-021-14/+14
* | Removed support for deprecated `finder_sql` in associations.Neeraj Singh2013-07-021-38/+5
* | Removed support for deprecated `counter_sql`Neeraj Singh2013-07-021-15/+11
* | Do not invoke callbacks when delete_all is calledNeeraj Singh2013-06-301-13/+29
* | do not load all child records for inverse caseNeeraj Singh2013-06-211-1/+1
* | Revert "Merge pull request #10566 from neerajdotname/10509d"Jon Leighton2013-06-191-1/+1
* | do not load all child records for inverse caseNeeraj Singh2013-06-191-1/+1
* | emphasize that callbacks are called in destroy_allNeeraj Singh2013-05-131-4/+4
|/
* Updated the error message for +find+ on an inverse_of associationwangjohn2013-04-011-1/+1
* Throwing a RecordNotFound exception when a record is scanned using thewangjohn2013-04-011-1/+13
* Adding a bang to method name of raise_on_type_mismatch.wangjohn2013-03-211-3/+3
* Properly named variable inside blockAnupam Choudhury2013-03-201-2/+2
* Calling find() on an association with an inverse will now check to seewangjohn2013-03-191-2/+3
* Cache the association proxy objectJon Leighton2013-03-151-1/+1
* Deprecate the `:distinct` option for `Relation#count`.Yves Senn2013-03-151-2/+3
* rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-151-5/+6
* Show warning message if delete_all is firing callbacksNeeraj Singh2013-03-111-0/+9
* `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