aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Subsecond precision is not supported until MySQL 5.6.4Ryuta Kamizono2018-07-091-13/+13
* | Fix default value for mysql time types with specified precisionNikolay Kondratyev2018-07-041-2/+12
|/
* 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-191-2/+44
|/
* Fix `touch` option to behave consistently with `Persistence#touch` methodRyuta Kamizono2018-06-183-25/+63
* Merge pull request #29373 from untidy-hair/store_accessor_enhanceRyuta Kamizono2018-06-131-0/+34
|\
| * Update prefix and allow suffix options for store accessorsYukio Mizuta2018-06-121-0/+34
* | 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-071-0/+11
* | Reuse existing model for testing duplicated children recordsRyuta Kamizono2018-06-071-14/+12
* | Merge pull request #33067 from kamipo/fix_force_equalityRafael França2018-06-061-0/+7
|\ \
| * | Fix force equality checking not to break the serialized attribute with ArrayRyuta Kamizono2018-06-061-0/+7