aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Ensure `has_and_belongs_to_many` works with `belongs_to_required_by_default`Sean Griffin2015-10-291-0/+6
* Merge pull request #18383 from scambra/habtm-with-where-includes-16032-for-ma...Rafael Mendonça França2015-10-271-0/+19
|\
| * Includes HABTM returns correct size now. It's caused by the join dependencySergio Cambra2015-01-071-0/+19
* | Include association's `unscope` when preloadingJimmy Bourassa2015-09-091-0/+21
* | Removed mocha from Active Record Part 1Ronak Jangir2015-08-251-3/+4
* | use correct DB connection for generated HABTM tableMatt Hanlon2015-08-071-0/+12
* | Silence deprecation warning from force reloadPrem Sichanugrist2015-07-161-20/+20
* | Deprecate force association reload by passing truePrem Sichanugrist2015-07-151-0/+6
* | add `extend` option on `has_and_belongs_to_many`.keepcosmos2015-05-261-0/+15
* | deprecate `Relation#uniq` use `Relation#distinct` instead.Yves Senn2015-05-261-5/+5
|/
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* Allow habtm class_name option to be consistent with other associationsshiksha2014-11-131-0/+10
* Ensure HABTM relationships produce valid class names (Fixes #17119)Sammy Larbi2014-11-091-1/+10
* Ignore SCHEMA queries in some habtm testsAkira Matsuda2014-08-141-4/+4
* Use a better test descriptionRafael Mendonça França2014-06-191-1/+1
* Fix has_and_belongs_to_many in a namespaced model pointing to a non namespace...Rafael Mendonça França2014-06-191-0/+9
* just use `assert`Aaron Patterson2014-06-021-1/+1
* Fix redefine a has_and_belongs_to_many inside inherited classArthur Neves2014-05-271-1/+15
* Fix how to compute class name on habtm namespaced.Kassio Borges2014-05-131-0/+12
* set a constant for the "anonymous" habtm model fixes #15022Aaron Patterson2014-05-081-0/+6
* Fixed HABTM's CollectionAssociation sizeFred Wu2014-05-081-0/+18
* Fix custom join_table name on habtm reflectionsKassio Borges2014-04-251-0/+5
* Obey `validate: false` option for habtmCarlos Antonio da Silva2014-03-141-0/+24
* fix HABTM w/out primary key errors on destructionKevin Casey2014-02-021-0/+10
* make sure cached table name is a string. fixes #12582Aaron Patterson2013-12-121-0/+7
* Squashed commit of the following:Aaron Patterson2013-10-011-10/+4
* these are not real developer objects, so counting them doesn't makeAaron Patterson2013-09-111-1/+1
* add a comment for sanity of other people to comeAaron Patterson2013-09-101-0/+8
* Revert change on ActiveRecord::Relation#order method that prepends newRafael Mendonça França2013-07-291-2/+2
* Remove redundant test about `push_with_attributes` removal.Vipul A M2013-07-091-7/+0
* Removed support for deprecated `delete_sql` in associations.Neeraj Singh2013-07-031-25/+0
* Removed support for deprecated `finder_sql` in associations.Neeraj Singh2013-07-021-26/+0
* Removed support for deprecated `counter_sql`Neeraj Singh2013-07-021-21/+0
* Removed deprecated options for assocationsNeeraj Singh2013-07-021-12/+0
* rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-151-1/+1
* Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by"Guillermo Iguaran2013-01-181-8/+8
* User Rails 4 find_byrobertomiranda2013-01-181-8/+8
* Merge and add tests related to 5215Vipul A M2012-11-121-6/+11
* Count returns 0 without querying if parent is not savedFrancesco Rodriguez2012-10-031-0/+6
* Remove ActiveRecord::Base.to_aJon Leighton2012-08-031-2/+2
* Deprecate :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-08-011-6/+21
* Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-011-0/+69
* AR::Relation#order: make new order prepend old oneBogdan Gusiev2012-07-311-2/+2
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-5/+5
* ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-7/+7
* Deprecate update_column in favor of update_columns.Rafael Mendonça França2012-07-241-1/+1
* Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-201-69/+0
* Improve the derivation of HABTM assocation join table namesAndrew White2012-06-221-3/+1
* Fix fragile #assert_queries implementation and usages.Steve Jorgensen2012-06-091-2/+5
* fix #delete_all with habtm with :delete_sqlJon Leighton2012-05-181-0/+6