aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Ensure `clear_cache!` clears the prepared statements cacheRyuta Kamizono2019-03-061-0/+4
* Add insert_all to ActiveRecord models (#35077)Bob Lail2019-03-054-6/+146
* Reset `connection_handlers` to default when any test dirties thatRyuta Kamizono2019-03-051-0/+4
* Fix typo in test nameSharang Dashputre2019-03-051-1/+1
* Merge pull request #35434 from matthewd/faster-isolated-arMatthew Draper2019-03-051-0/+6
|\
| * Clean up AR's isolated test runnerMatthew Draper2019-03-051-0/+6
* | Allow `truncate` for SQLite3 adapter and add `rails db:seed:replant` (#34779)Bogdan2019-03-042-0/+140
* | Deprecate mismatched collation comparison for uniquness validatorRyuta Kamizono2019-03-042-10/+62
* | Merge pull request #35460 from abhaynikam/33611-follow-up-on-add-reselectRyuta Kamizono2019-03-043-1/+14
|\ \
| * | Fixed reselect throwing NoMethodError on ActiveRecord.Abhay Nikam2019-03-033-1/+14
* | | Remove unnecessary `current_adapter?(:OracleAdapter)` for index lengthYasuo Honda2019-03-032-14/+6
|/ /
* | Merge pull request #35457 from yahonda/run_delte_all_testRyuta Kamizono2019-03-031-19/+17
|\ \
| * | Oracle database can run `delete` statement with `order by` and`fetch first n ...Yasuo Honda2019-03-031-19/+17
* | | Merge pull request #35456 from yahonda/rails_datetime_mapped_to_oracle_timestampRyuta Kamizono2019-03-031-12/+2
|\ \ \
| * | | Rails `DateTime` type is mapped to Oracle `TIMESTAMP` since Rails 5.0Yasuo Honda2019-03-031-12/+2
| |/ /
* / / Oracle 12.2+ supports 128 byte identifier lengthYasuo Honda2019-03-031-10/+2
|/ /
* | Use the correct model in the testRafael Mendonça França2019-03-011-1/+1
* | Merge pull request #35441 from kamipo/allow_from_with_index_hintRyuta Kamizono2019-03-011-10/+22
|\ \
| * | Relax table name detection in `from` to allow any extension like INDEX hintRyuta Kamizono2019-03-011-10/+22
* | | Merge pull request #35431 from kamipo/enable_sql_cache_on_findRyuta Kamizono2019-03-011-3/+22
|\ \ \ | |/ / |/| |
| * | Enable SQL statement cache for `find` on base class as with `find_by`Ryuta Kamizono2019-03-011-3/+22
* | | Merge pull request #33611 from willianveiga/feature/reselect-methodAndrew White2019-03-011-0/+5
|\ \ \
| * \ \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-172-1/+27
| |\ \ \
| * \ \ \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-1125-115/+574
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-0295-614/+1609
| |\ \ \ \ \
| * | | | | | Add reselect methodWillian Gustavo Veiga2018-08-131-0/+5
* | | | | | | Remove unused requiresRyuta Kamizono2019-03-011-2/+0
| |_|_|_|/ / |/| | | | |
* | | | | | Avoid `Topic.dup` to prevent weird test failureRyuta Kamizono2019-03-011-1/+1
* | | | | | Reset dirty `topics` table for `SerializedAttributeTest`Ryuta Kamizono2019-03-011-1/+1
| |_|_|_|/ |/| | | |
* | | | | Use dedicated `Topic` model for `SerializedAttributeTest`Ryuta Kamizono2019-02-282-24/+14
* | | | | Allow returning nil for `default_scope`Ryuta Kamizono2019-02-281-0/+1
* | | | | Fix indentation [ci skip]Ryuta Kamizono2019-02-271-2/+2
* | | | | Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2019-02-271-5/+5
* | | | | Fix test that was broken by adding a default scope to an existing modelRafael Mendonça França2019-02-263-2/+10
* | | | | Fix preload with nested associationsRafael Mendonça França2019-02-262-0/+11
* | | | | :scissors:Ryuta Kamizono2019-02-271-1/+1
* | | | | Add negative scopes for all enum values (#35381)David Heinemeier Hansson2019-02-261-0/+5
* | | | | Don't cache `find_by` statements on STI subclassesRyuta Kamizono2019-02-272-4/+20
* | | | | Test that no datetime precision isn't truncated on assignmentRyuta Kamizono2019-02-272-1/+41
* | | | | Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2019-02-271-5/+5
* | | | | Merge pull request #35361 from jvillarejo/fix_wrong_size_query_with_distinct_...Ryuta Kamizono2019-02-272-0/+25
|\ \ \ \ \
| * | | | | fixes different `count` calculation when using `size` manual `select` with DI...jvillarejo2019-02-262-0/+25
|/ / / / /
* | | | | Merge pull request #35402 from alimi/update-ar-read-regexAaron Patterson2019-02-253-0/+28
|\ \ \ \ \
| * | | | | Update READ_QUERY regexAli Ibrahim2019-02-253-0/+28
* | | | | | Refactor `type_to_sql` to handle converting `limit` to `size` in itselfRyuta Kamizono2019-02-262-9/+31
* | | | | | Fix prepared statements caching to be enabled even when query caching is enabledRyuta Kamizono2019-02-261-2/+55
|/ / / / /
* | | | | Merge pull request #35352 from kamipo/update_all_doesnt_care_optimistic_lockingRyuta Kamizono2019-02-252-9/+64
|\ \ \ \ \
| * | | | | Ensure `update_all` series cares about optimistic lockingRyuta Kamizono2019-02-252-9/+64
* | | | | | Remove duplicated protected params definitionsRyuta Kamizono2019-02-246-88/+30
* | | | | | Add test case for `unscope` with `merge`Ryuta Kamizono2019-02-241-0/+13