aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Fix circular `autosave: true`Larry Reid2018-07-235-0/+52
* 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
* Merge pull request #29373 from untidy-hair/store_accessor_enhanceRyuta Kamizono2018-06-133-0/+38
|\
| * Update prefix and allow suffix options for store accessorsYukio Mizuta2018-06-123-0/+38
* | Add ability to configure cache notifications infoEileen Uchitelle2018-06-121-1/+23
* | Don't use `target=`Rafael Mendonça França2018-06-111-1/+1
* | Use `-=` to change the update the collection on the associationRafael Mendonça França2018-06-111-1/+1
* | Fix alias confliction when joining same table on has many through with left_j...Ryuta Kamizono2018-06-111-0/+4
* | Fix GROUP BY queries to apply LIMIT/OFFSET after aggregationsRyuta Kamizono2018-06-071-0/+18
* | Fix `collection.create` to could be rolled back by `after_save`Ryuta Kamizono2018-06-072-0/+21