aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* 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-192-0/+6
|\
| * Avoid extra scoping in delegating to klass methods in the `scope` blockRyuta Kamizono2018-07-192-0/+6
* | 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-129-21/+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
* | Subsecond precision is not supported until MySQL 5.6.4Ryuta Kamizono2018-07-092-19/+19
* | Fix default value for mysql time types with specified precisionNikolay Kondratyev2018-07-042-2/+14
|/
* Don't share seen object cache between different join nodes in eager loadingRyuta Kamizono2018-07-031-0/+18
* Merge pull request #33242 from brasic/sqlite-readonlyRyuta Kamizono2018-07-031-0/+33
|\
| * Support readonly option in SQLite3AdapterCarl Brasic2018-07-021-0/+33
|/
* Merge branch 'master' into homogeneous-allocationAaron Patterson2018-06-261-13/+0
|\
| * Call initialize after allocateAaron Patterson2018-06-261-13/+0
* | Speed up homogeneous AR lists / reduce allocationsAaron Patterson2018-06-251-0/+5
|/
* `references(:developers_projects_join)` isn't needed if using `where` with ha...Ryuta Kamizono2018-06-261-16/+2
* OS X -> macOS [Closes #30313]Xavier Noria2018-06-231-1/+1
* Add missing test case for `find` with a large numberRyuta Kamizono2018-06-221-0/+6
* Merge pull request #33074 from lsylvester/optimize-pluckRafael França2018-06-191-0/+12
|\
| * Avoid creating temporary arrays in ActiveRecord::Result#cast_values in order ...Lachlan Sylvester2018-06-191-0/+12
* | Ensure to calculate column aliases after all table aliases are constructedRyuta Kamizono2018-06-193-5/+55
|/
* Fix `touch` option to behave consistently with `Persistence#touch` methodRyuta Kamizono2018-06-186-27/+69