aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-4/+2
* modernizes hash syntax in activerecordXavier Noria2016-08-061-46/+46
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-82/+82
* Merge pull request #25767 from kamipo/association_name_is_the_same_as_join_ta...Rafael França2016-07-271-0/+6
|\
| * Correctly return `associated_table` when `associated_with?` is trueRyuta Kamizono2016-07-101-0/+6
* | Move the warning about composite primary key to `AttributeMethods::PrimaryKey`Ryuta Kamizono2016-07-021-1/+1
|/
* remove args from assert_nothing_raised in testsTara Scherner de la Fuente2016-02-221-1/+1
* fix typoLobsiinvok2016-02-201-1/+1
* eliminate warnings about multiple primary keys on habtm join tablesAaron Patterson2016-02-191-0/+13
* Typos in AR testsAkira Matsuda2016-02-031-2/+2
* 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