aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Avoid passing unnecessary arguments to relationDaniel Colson2018-01-246-29/+49
* Make discard safe when it follows a manual disconnectMatthew Draper2018-01-251-0/+40
* Merge pull request #31773 from dinahshi/postgresql_bulk_patchMatthew Draper2018-01-241-2/+3
|\
| * Use concat to join procs arrays in bulk_change_tableDinah Shi2018-01-231-2/+3
* | Merge pull request #31422 from Edouard-chin/multistatement-fixturesMatthew Draper2018-01-242-1/+121
|\ \
| * | Allow a 2 bytes margin:Edouard CHIN2018-01-231-3/+5
| * | Build a multi-statement query when inserting fixtures:Edouard CHIN2018-01-222-1/+119
* | | Merge pull request #31549 from fatkodima/foreign_tablesRyuta Kamizono2018-01-231-0/+109
|\ \ \
| * | | Support for PostgreSQL foreign tablesfatkodima2018-01-221-0/+109
* | | | Fix building has_one through recordRyuta Kamizono2018-01-231-0/+12
|/ / /
* | | Ignores a default subclass when `becomes(Parent)`Leonel Galan2018-01-221-0/+16
* | | Merge pull request #31710 from eugeneius/indestructible_through_recordRyuta Kamizono2018-01-225-4/+23
|\ \ \
| * | | Don't update counter cache when through record was not destroyedEugene Kenny2018-01-145-4/+23
* | | | Restore `test_migrations_status_with_schema_define_in_subdirectories`Ryuta Kamizono2018-01-191-7/+11
|/ / /
* | | Merge pull request #31663 from Edouard-chin/remove-without-sql-modeRafael França2018-01-181-0/+22
|\ \ \
| * | | Added a test around `NO_AUTO_VALUE_ON_ZERO`:Edouard CHIN2018-01-171-0/+22
* | | | Refactor migration to move migrations paths to connectioneileencodes2018-01-186-165/+234
* | | | Fix relation merger issue with `left_outer_joins`Mehmet Emin INAC2018-01-151-0/+6
* | | | Don't allow destroyed object mutation after `save` or `save!` is calledRyuta Kamizono2018-01-151-2/+24
* | | | `create_database` should not add default charset when `collation` is givenRyuta Kamizono2018-01-151-1/+1
* | | | Merge pull request #28313 from sandrew/masterRyuta Kamizono2018-01-151-0/+12
|\ \ \ \
* \ \ \ \ Merge pull request #23146 from piotrj/issue_18424Ryuta Kamizono2018-01-112-0/+22
|\ \ \ \ \
| * | | | | 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
|/ / / / / / / / /