aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/collection_association.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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