aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Add test case for `collection_singular_ids` with symbol primary keysRyuta Kamizono2018-01-012-1/+9
* Remove `association_primary_key_type` from `AssociationReflection` and `Throu...Ryuta Kamizono2018-01-011-9/+0
* Merge pull request #31575 from bogdan/bugfix-has-many-reattachmentRyuta Kamizono2018-01-011-0/+9
|\
| * Bugfix foreign key replacement in inverse associationBogdan Gusiev2017-12-271-0/+9
* | Fix recreating partial indexes after alter table for sqlitefatkodima2017-12-311-0/+17
* | Fix `cache_key` with a relation having distinct and orderRyuta Kamizono2017-12-301-0/+6
* | Fix `cache_key` with a relation having custom select and orderRyuta Kamizono2017-12-291-0/+6
|/
* SQLite: Add more test cases for adding primary keyRyuta Kamizono2017-12-262-58/+100
* Make `sql_type` of primary key in SQLite to comparable with an integer (#28008)Ryuta Kamizono2017-12-261-1/+1
* Fix `add_column` with :primary_key type compatibility for SQLitefatkodima2017-12-251-0/+19
* Don't pass `object_id` to `refute_nil` since `object_id` never to be nilRyuta Kamizono2017-12-261-6/+6
* Merge pull request #27780 from mikelikesbikes/fix-update-attribute-callbacks-...Ryuta Kamizono2017-12-252-0/+10
|\
| * save attributes changed by callbacks after update_attributeMike Busch2017-12-222-0/+10
* | Add test case for using sanitize method in the scope definitionRyuta Kamizono2017-12-221-2/+10
|/
* Merge pull request #31520 from yahonda/introduce_frozen_error_classRyuta Kamizono2017-12-204-3/+7
|\
| * Handle `FrozenError` if it is availableYasuo Honda2017-12-204-3/+7
* | Remove passing needless empty string `options` in `create_table`Ryuta Kamizono2017-12-201-3/+3
* | Merge pull request #31177 from albertoalmagro/remove-default-mysql-engine-fro...Matthew Draper2017-12-202-3/+78
|\ \
| * | Remove default ENGINE=InnoDB for Mysql2 adapterAlberto Almagro2017-12-112-3/+78
* | | Fix `count(:all)` to correctly work `distinct` with custom SELECT listRyuta Kamizono2017-12-202-0/+12
* | | Remove outdated comments [ci skip]Ryuta Kamizono2017-12-191-4/+0
* | | Merge pull request #31492 from prathamesh-sonpatki/rm-assert-nothing-raisedEileen M. Uchitelle2017-12-191-4/+2
|\ \ \
| * | | assert_nothing_raised not required here, we can assert directly for the actua...Prathamesh Sonpatki2017-12-191-4/+2
* | | | Quote primary key in the subselect generated by mysql2 adapterRyuta Kamizono2017-12-192-3/+10
* | | | Using subselect for `delete_all` with `limit` or `offset`Ryuta Kamizono2017-12-192-2/+20
* | | | Using subselect generated by the connection adapter for `update_all` with `of...Ryuta Kamizono2017-12-191-7/+16
* | | | Merge pull request #31475 from shioyama/reset_column_information_redefine_chi...Matthew Draper2017-12-191-3/+8
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add failing testChris Salzberg2017-12-171-3/+8
| |/ /
* | | Fix `test_counter_cache_with_touch_and_lock_version` failureRyuta Kamizono2017-12-181-2/+2
* | | Using table name qualified column names unless having SELECT list explicitlyRyuta Kamizono2017-12-181-3/+7
|/ /
* | Merge pull request #31473 from shioyama/fix_instantiate_test_attributesRyuta Kamizono2017-12-161-4/+7
|\ \
| * | Modify test to correctly pass attributes hashChris Salzberg2017-12-151-4/+7
* | | Remove needless `change_table`Ryuta Kamizono2017-12-151-6/+2
* | | Clear dirty `schema_cache` after `dump_schema_cache`Ryuta Kamizono2017-12-151-0/+1
* | | Suppress expected exceptions by `report_on_exception` = `false`Yasuo Honda2017-12-141-0/+2
* | | Merge pull request #31289 from witlessbird/fips-compatibilityEileen M. Uchitelle2017-12-141-4/+4
|\ \ \
| * | | Introduced `ActiveSupport::Digest` that allows to specify hash function imple...Dmitri Dolguikh2017-12-121-4/+4
* | | | Merge pull request #26815 from olivierlacan/log-query-sourceEileen M. Uchitelle2017-12-141-2/+19
|\ \ \ \
| * | | | Log call site for all queriesOlivier Lacan2017-12-131-2/+19
* | | | | Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the futureRyuta Kamizono2017-12-147-15/+12
|/ / / /
* | | | Suppress `warning: BigDecimal.new is deprecated` in activerecordYasuo Honda2017-12-1311-22/+22
* | | | Suppress expected exceptions by `report_on_exception` = `false` in Ruby 2.5Yasuo Honda2017-12-132-0/+5
* | | | Fix inheritance object creation from relationRyuta Kamizono2017-12-131-0/+39
* | | | Convert protected_environments to an array of stringsbogdanvlviv2017-12-122-2/+31
| |/ / |/| |
* | | Make `sanitize_sql_` methods publicyuuji.yaginuma2017-12-131-24/+24
* | | Merge pull request #31405 from bogdanvlviv/fix-conflicts-counter_cache-with-t...Rafael França2017-12-123-3/+36
|\ \ \
| * | | Fix conflicts `counter_cache` with `touch: true` by optimistic locking.bogdanvlviv2017-12-123-3/+36
| | |/ | |/|
* | | Merge pull request #31403 from Edouard-chin/fix-quoted-columnnameRafael França2017-12-121-0/+8
|\ \ \
| * | | Quote colum_names when building select:Edouard CHIN2017-12-111-0/+8
| |/ /
* / / Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed moreRyuta Kamizono2017-12-125-5/+5
|/ /