aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
...
| * | | | | | | | When deleting through records, take into account association conditionsPiotr Jakubowski2016-05-042-0/+19
* | | | | | | | | Make `relation.exists?` more performant when using eager loadingRyuta Kamizono2018-01-111-10/+12
* | | | | | | | | Fix `stale_state` for nested `has_many :through` associationsRyuta Kamizono2018-01-101-12/+28
* | | | | | | | | Merge pull request #16314 from zoltankiss/allow-nested-has-many-associations-...Ryuta Kamizono2018-01-101-0/+29
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Fix nested `has many :through` associations on unpersisted instancesZoltan Kiss2015-03-261-0/+29
* | | | | | | | | | resolve inconsistencies between first and to_a.first with limitBrian Christian2018-01-091-0/+18
* | | | | | | | | | Fix deleting through records when using has_many through with `source_type`Ryuta Kamizono2018-01-081-12/+23
* | | | | | | | | | Fix `last` with `offset` to behave consistently with loaded relationRyuta Kamizono2018-01-071-8/+4
* | | | | | | | | | Fix `pluck` with eager loading to respect `offset`Ryuta Kamizono2018-01-071-0/+5
* | | | | | | | | | Revert commit 4ec5b0d6b4d8a57e034b1014942356e95caf47aa in favor of #28379Ryuta Kamizono2018-01-071-3/+3
| |_|_|/ / / / / / |/| | | | | | | |
* | | | | | | | | Partial revert the changing default value of `readonly_value`Ryuta Kamizono2018-01-051-2/+1
* | | | | | | | | Fix newly added reflection order when redefining associationRyuta Kamizono2018-01-042-3/+3
* | | | | | | | | Deprecate `valid_alter_table_type?` in sqlite3 adapterRyuta Kamizono2018-01-041-0/+4
* | | | | | | | | Correctly handle infinity value in PostgreSQL range typeyuuji.yaginuma2018-01-041-0/+12
| |_|_|_|/ / / / |/| | | | | | |
* | | | | | | | Merge pull request #31331 from dinahshi/postgresql_bulk_updateMatthew Draper2018-01-032-8/+28
|\ \ \ \ \ \ \ \
| * | | | | | | | Add bulk alter support for PostgreSQLDinah Shi2017-12-062-8/+28
* | | | | | | | | Merge pull request #25456 from ojab/masterRyuta Kamizono2018-01-031-1/+1
|\ \ \ \ \ \ \ \ \
* \ \ \ \ \ \ \ \ \ Merge pull request #27561 from fishbrain/count-all-in-has-many-associationRyuta Kamizono2018-01-032-0/+10
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Use `count(:all)` in HasManyAssociation#count_recordsKlas Eskilson2017-02-072-0/+10
* | | | | | | | | | | Merge pull request #29018 from willbryant/missing_attributes_after_saveRyuta Kamizono2018-01-031-0/+7
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / |/| | | | | | | | | |
| * | | | | | | | | | fix the dirty tracking code's save hook overwriting missing attributes with i...Will Bryant2017-05-101-0/+7
* | | | | | | | | | | 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