aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/collection_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-5/+5
* Setting an association replaces records with the same id in memorySean Griffin2014-11-251-2/+18
* Wrap code snippets in +, not backticks, in sdocclaudiob2014-11-201-2/+2
* Merge pull request #11694 from Empact/association-bind-values-not-updated-on-...Rafael Mendonça França2014-11-101-1/+7
|\
| * Fix that a collection proxy could be cached before the save of the owner, res...Ben Woosley2014-10-031-1/+7
* | default scopes should break the cache on has_many.Aaron Patterson2014-11-071-1/+2
* | make sure cache is not used for collection assocations tooAaron Patterson2014-10-141-1/+6
|/
* Skip StatementCache for eager loaded associations (Fixes #16761)Sammy Larbi2014-09-041-1/+1
* Don't rely on the column for type casting reflectionsSean Griffin2014-06-181-2/+2
* Rename `type_cast` to `type_cast_from_database`Sean Griffin2014-06-091-1/+1
* early return on delete and destroy methodseileencodes2014-05-181-0/+2
* rename delete_all_records to delete_or_nullify_all_recordseileencodes2014-05-131-1/+1
* begin refactoring delete_records methodeileencodes2014-05-131-1/+1
* refactor and clean up delete_all methodeileencodes2014-05-051-9/+1
* flip conditional in delete_all to handle nullify bettereileencodes2014-04-281-3/+3
* simplify the delete all w/ dependency methodeileencodes2014-04-281-3/+3
* remove unnecessary code from delete methodeileencodes2014-04-281-10/+2
* write a new method to be accessed from delete_alleileencodes2014-04-281-1/+9
* use statement cache for belongs_to relationsAaron Patterson2014-04-221-1/+1
* cache scope building on associationsAaron Patterson2014-04-141-1/+15
* remove check for present? from delete_alleileencodes2014-04-071-2/+2
* Merge pull request #11650 from prathamesh-sonpatki/renameRafael Mendonça França2014-04-041-4/+4
|\
| * [Active Record] Renamed private methods create_record and update_recordPrathamesh Sonpatki2014-02-201-4/+4
* | fix delete_all to remove records directlyeileencodes2014-03-311-1/+1
* | 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