aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Delegate `only` query method to relation as with `except`Ryuta Kamizono2019-03-072-1/+5
* Refactor AR::Querying to extract `QUERYING_METHODS` listRyuta Kamizono2019-03-071-14/+16
* Just inherit `ForeignKeyChangeColumnTest` for with prefix/suffix testsRyuta Kamizono2019-03-071-17/+5
* Add some whitespace for readability.Kasper Timm Hansen2019-03-061-0/+12
* Fix test case name after file extractionKasper Timm Hansen2019-03-061-1/+1
* Handle blank inserts like update_all; raise upfront.Kasper Timm Hansen2019-03-061-1/+1
* Allow `remove_foreign_key` with both `to_table` and `options`Ryuta Kamizono2019-03-061-0/+12
* Ensure `clear_cache!` clears the prepared statements cacheRyuta Kamizono2019-03-061-0/+4
* Add insert_all to ActiveRecord models (#35077)Bob Lail2019-03-053-6/+142
* 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-041-0/+45
* | Merge pull request #35460 from abhaynikam/33611-follow-up-on-add-reselectRyuta Kamizono2019-03-042-1/+8
|\ \
| * | Fixed reselect throwing NoMethodError on ActiveRecord.Abhay Nikam2019-03-032-1/+8
* | | 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
|/ /
* | 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-1123-110/+558
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-0282-600/+1545
| |\ \ \ \ \
| * | | | | | 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-281-20/+14
* | | | | 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-261-2/+2
* | | | | Fix preload with nested associationsRafael Mendonça França2019-02-261-0/+9
* | | | | :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