aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #31671 from larskanis/pg-1.0Rafael Mendonça França2018-01-111-1/+1
|\
| * PostgreSQL: Allow pg-1.0 gem to be used with ActiveRecordLars Kanis2018-01-101-1/+1
* | Merge pull request #23146 from piotrj/issue_18424Ryuta Kamizono2018-01-114-0/+29
|\ \
| * | When deleting through records, take into account association conditionsPiotr Jakubowski2016-05-043-8/+28
* | | Remove the deprecated `:conditions` option in `INVALID_AUTOMATIC_INVERSE_OPTI...Ryuta Kamizono2018-01-111-1/+1
* | | Use `apply_join_dependency` instead of meaningless named `find_with_associati...Ryuta Kamizono2018-01-112-26/+13
* | | Make `relation.exists?` more performant when using eager loadingRyuta Kamizono2018-01-112-13/+16
| |/ |/|
* | [ci skip] setting :inverse_of works with :as, :through and :polymorphic optio...Bart de Water2018-01-101-12/+18
* | Fix `stale_state` for nested `has_many :through` associationsRyuta Kamizono2018-01-103-22/+41
* | Merge pull request #16314 from zoltankiss/allow-nested-has-many-associations-...Ryuta Kamizono2018-01-104-1/+76
|\ \
| * | Fix nested `has many :through` associations on unpersisted instancesZoltan Kiss2015-03-263-1/+34
* | | Bring back passing single record support for `Preloader`Ryuta Kamizono2018-01-101-1/+1
* | | resolve inconsistencies between first and to_a.first with limitBrian Christian2018-01-093-1/+31
* | | Fix deleting through records when using has_many through with `source_type`Ryuta Kamizono2018-01-082-20/+29
* | | Simply use `scope.delete_all` instead of constructing delete managerRyuta Kamizono2018-01-071-8/+1
* | | Make `find_nth_from_last` more performant when using reversible orderRyuta Kamizono2018-01-071-6/+5
* | | Fix `last` with `offset` to behave consistently with loaded relationRyuta Kamizono2018-01-072-9/+5
* | | Fix `pluck` with eager loading to respect `offset`Ryuta Kamizono2018-01-072-1/+6
* | | Revert commit 4ec5b0d6b4d8a57e034b1014942356e95caf47aa in favor of #28379Ryuta Kamizono2018-01-072-9/+4
* | | Remove passing argument to singular and collection association readersRyuta Kamizono2018-01-051-2/+2
* | | Partial revert the changing default value of `readonly_value`Ryuta Kamizono2018-01-052-15/+3
* | | Fix newly added reflection order when redefining associationRyuta Kamizono2018-01-043-4/+5
* | | Deprecate `valid_alter_table_type?` in sqlite3 adapterRyuta Kamizono2018-01-042-7/+16
* | | Correctly handle infinity value in PostgreSQL range typeyuuji.yaginuma2018-01-043-2/+22
* | | Merge pull request #31331 from dinahshi/postgresql_bulk_updateMatthew Draper2018-01-034-13/+68
|\ \ \
| * | | Add bulk alter support for PostgreSQLDinah Shi2017-12-064-13/+68
* | | | Merge pull request #25456 from ojab/masterRyuta Kamizono2018-01-032-4/+2
|\ \ \ \
| * | | | Remove dormant checkojab2016-06-211-3/+1
* | | | | Merge pull request #27561 from fishbrain/count-all-in-has-many-associationRyuta Kamizono2018-01-034-1/+16
|\ \ \ \ \
| * | | | | Use `count(:all)` in HasManyAssociation#count_recordsKlas Eskilson2017-02-074-1/+16
* | | | | | 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-102-0/+11
* | | | | | | Active Record: Bump license years for 2018 [ci skip]Ryuta Kamizono2018-01-011-1/+1
* | | | | | | 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-013-19/+2
* | | | | | | Refactor delegating `join_primary_key` instead of `join_keys` and `associatio...Ryuta Kamizono2018-01-014-6/+5
* | | | | | | Merge pull request #31606 from yhirano55/bump_license_years_for_2018Arun Agrawal2017-12-311-1/+1
|\ \ \ \ \ \ \
| * | | | | | | Bump license years for 2018Yoshiyuki Hirano2017-12-311-1/+1
* | | | | | | | Merge pull request #31575 from bogdan/bugfix-has-many-reattachmentRyuta Kamizono2018-01-013-13/+17
|\ \ \ \ \ \ \ \
| * | | | | | | | Bugfix foreign key replacement in inverse associationBogdan Gusiev2017-12-273-13/+17
* | | | | | | | | Fix recreating partial indexes after alter table for sqlitefatkodima2017-12-312-0/+18
| |/ / / / / / / |/| | | | | | |
* | | | | | | | Fix `cache_key` with a relation having distinct and orderRyuta Kamizono2017-12-302-2/+8
* | | | | | | | Fix `cache_key` with a relation having custom select and orderRyuta Kamizono2017-12-292-2/+7
|/ / / / / / /
* | | | | | | 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-262-2/+2
* | | | | | | Fix `add_column` with :primary_key type compatibility for SQLitefatkodima2017-12-252-1/+20
* | | | | | | 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-254-5/+15
|\ \ \ \ \ \ \
| * | | | | | | save attributes changed by callbacks after update_attributeMike Busch2017-12-223-5/+11
* | | | | | | | Add test case for using sanitize method in the scope definitionRyuta Kamizono2017-12-221-2/+10
|/ / / / / / /