aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Speed up slow ConnectionPool test case.Guo Xiang Tan2018-08-201-11/+19
* Improve tests for ActiveRecord::ConnectionAdapters::ConnectionPool configurat...Guo Xiang Tan2018-08-192-2/+39
* Ensure `foreign_keys` assertions after alter tableRyuta Kamizono2018-08-191-1/+5
* Merge pull request #33585 from yahonda/diag33520Ryuta Kamizono2018-08-161-0/+13
|\
| * SQLite3 adapter `alter_table` method restores foreign keysYasuo Honda2018-08-111-0/+13
* | Merge pull request #33603 from kamipo/fix_numericality_validatorRyuta Kamizono2018-08-162-2/+18
|\ \
| * | Fix numericality validator not to be affected by custom getterRyuta Kamizono2018-08-132-2/+18
| |/
* | Fix bulk change table ignores comment option on PostgreSQL.Yoshiyuki Kinjo2018-08-151-2/+11
* | Follow up #33530bogdanvlviv2018-08-151-0/+5
* | Allow `to_table` in `invert_remove_foreign_key`Rich2018-08-141-0/+8
|/
* Fix a wrong correctionKazuhiro Sera2018-08-081-1/+1
* Fix the obvious typos detected by github.com/client9/misspellKazuhiro Sera2018-08-085-16/+16
* Call build when extend with nested attributes definedAlireza Bashiri2018-08-021-0/+12
* Revert "Merge pull request #24131 from brchristian/limit_and_primary_key"Ryuta Kamizono2018-08-011-15/+0
* Add test case for the #5153's default order contractRyuta Kamizono2018-08-011-0/+13
* Avoid extra scoping when using `Relation#update`Ryuta Kamizono2018-07-311-0/+4
* MySQL: Raise ActiveRecord::InvalidForeignKey for foreign-key constraint viola...George Claghorn2018-07-301-5/+16
* Don't expose configuration for a test.Kasper Timm Hansen2018-07-281-2/+3
* Avoid logging ActiveRecord::LogSubscriber as the query source when the source...lsylvester2018-07-281-0/+13
* PostgreSQL 10 new relkind for partitioned tables (#31336)Yannick Schutz2018-07-271-0/+22
* Remove Rubocop's comments from Rails code basebogdanvlviv2018-07-261-1/+1
* Merge pull request #32381 from q-centrix/update-codeclimate-configsRichard Schneeman2018-07-252-13/+13
|\
| * Turn on performance based copsDillon Welch2018-07-232-13/+13
* | Normalize time value not to be affected by summer timeRyuta Kamizono2018-07-252-10/+40
|/
* Merge pull request #30919 from seanlinsley/17622-before_save_strict_argumentsRyuta Kamizono2018-07-231-0/+27
|\
| * add strict argument checking to ActiveRecord callbacksSean Linsley2018-07-221-0/+23
|/
* Replace permissive Mocha expectationsutilum2018-07-222-32/+86
* Replace Mocha#stubs with assert_called_withutilum2018-07-221-6/+11
* Fix Mocha replacement that slipped out of #33337utilum2018-07-221-11/+15
* tests for use of primary_key with limitBrian Christian2018-07-191-0/+15
* Merge pull request #33394 from kamipo/avoid_extra_scopingEileen M. Uchitelle2018-07-191-0/+5
|\
| * Avoid extra scoping in delegating to klass methods in the `scope` blockRyuta Kamizono2018-07-191-0/+5
* | Merge pull request #33391 from utilum/method_call_assertions_instead_of_mochaRyuta Kamizono2018-07-195-98/+154
|\ \ | |/ |/|
| * Use MethodCallAssertions instead of Mocha#expectsutilum2018-07-195-98/+154
* | Fix `insert_fixtures_set` to be restored original connection flagsRyuta Kamizono2018-07-191-5/+80
|/
* Merge pull request #33363 from ahorek/transaction_bugRafael França2018-07-181-0/+15
|\
| * use set_server_option if possiblepavel2018-07-151-0/+15
* | Merge pull request #33358 from azbshiri/summer-timeRafael França2018-07-181-2/+24
|\ \
| * | Test DST both in local and utc timezoneAlireza Bashiri2018-07-171-2/+24
* | | Replace some more Mocha#stub calls with Minitestutilum2018-07-173-25/+46
* | | Remove unnecessary Mocha stubutilum2018-07-171-1/+0
|/ /
* | Clarify test casesbogdanvlviv2018-07-153-15/+11
* | Stub with Minitest instead of Mochautilum2018-07-156-461/+699
|/
* Enable `Layout/EmptyLinesAroundBlockBody` to reduce review cost in the futureRyuta Kamizono2018-07-126-17/+0
* Fix stubbed methods in test casesbogdanvlviv2018-07-102-3/+3
* Replace shallow mocks with Ruby classesutilum2018-07-105-18/+47
* Reduce mocking by testing value instead of method callutilum2018-07-093-18/+24
* Merge pull request #33309 from utilum/remove_unnecessary_mocha_stubsRafael França2018-07-095-48/+18
|\
| * Remove unnecessary Mocha stubsutilum2018-07-075-48/+18
* | SQLite: Don't leak internal schema objectsRyuta Kamizono2018-07-091-0/+1