aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix join middle table alias when using HABTMTakayuki Nakata2019-07-261-2/+9
* Address intermittent CI failure due to unfilled schema columns cacheRyuta Kamizono2019-05-291-3/+3
* Give up filling schema cache before `assert_no_queries`Ryuta Kamizono2019-05-221-8/+2
* Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-10/+8
* Add regression test against habtm memoized singular_idsAlberto Almagro2018-10-161-0/+12
* Ensure to test that `project.developers` is ordered by `developers.name desc`Ryuta Kamizono2018-10-151-1/+1
* Call `define_attribute_methods` before `assert_no_queries` to address CI flak...Ryuta Kamizono2018-10-091-0/+8
* Remove `ignore_none: false` to assert no queries more strictlyRyuta Kamizono2018-10-051-4/+4
* Use `assert_no_queries` not to ignore BEGIN/COMMIT queriesRyuta Kamizono2018-10-051-1/+1
* Fix numericality validator not to be affected by custom getterRyuta Kamizono2018-08-131-1/+1
* `references(:developers_projects_join)` isn't needed if using `where` with ha...Ryuta Kamizono2018-06-261-16/+2
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-1/+1
* Deprecate update_attributes and update_attributes!Eddie Lebow2018-02-171-1/+1
* Remove extra whitespaceDaniel Colson2018-01-251-7/+7
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-17/+17
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-41/+41
* Remove deprecated support to passing a class to `:class_name` on associationsRafael Mendonça França2017-10-231-13/+0
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Remove a redundant test case of HABTM_associations_testKoichi ITO2017-05-311-13/+0
* Define path with __dir__bogdanvlviv2017-05-231-1/+1
* Don't attempt to create a new record that was already created.Isaac Betesh2017-04-201-0/+20
* Correct spellingBenjamin Fleischer2017-02-051-2/+2
* Deprecate reflection class name to accept a classKir Shatrov2017-01-091-2/+4
* Remove deprecated force reload argument in association readersRafael Mendonça França2016-12-291-6/+0
* Respect new records for `CollectionProxy#uniq`Ryuta Kamizono2016-11-131-1/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-2/+2
* Merge PR #19759Arthur Neves2016-10-281-0/+13
|\
| * Fix for has_and_belongs_to_many & has_many_through associations while partial...Mehmet Emin İNAÇ2016-02-131-0/+13
* | Fix HABTM associations join table resolver bug on constants and symbolsMehmet Emin İNAÇ2016-10-271-1/+13
* | improve error message when include assertions failMichael Grosser2016-09-161-10/+10
* | Add three new rubocop rulesRafael Mendonça França2016-08-161-4/+4
* | Fix broken alignments caused by auto-correct commit 411ccbdRyuta Kamizono2016-08-101-1/+2
* | 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