aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
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-111-0/+1
|\ \
| * | When deleting through records, take into account association conditionsPiotr Jakubowski2016-05-041-8/+9
* | | 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-111-3/+4
| |/ |/|
* | [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-102-10/+13
* | Merge pull request #16314 from zoltankiss/allow-nested-has-many-associations-...Ryuta Kamizono2018-01-102-1/+9
|\ \
| * | Fix nested `has many :through` associations on unpersisted instancesZoltan Kiss2015-03-262-1/+5
* | | 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-091-1/+5
* | | Fix deleting through records when using has_many through with `source_type`Ryuta Kamizono2018-01-081-8/+6
* | | 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-071-1/+1
* | | Fix `pluck` with eager loading to respect `offset`Ryuta Kamizono2018-01-071-1/+1
* | | Revert commit 4ec5b0d6b4d8a57e034b1014942356e95caf47aa in favor of #28379Ryuta Kamizono2018-01-071-6/+1
* | | 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-051-13/+2
* | | Fix newly added reflection order when redefining associationRyuta Kamizono2018-01-041-1/+2
* | | Deprecate `valid_alter_table_type?` in sqlite3 adapterRyuta Kamizono2018-01-041-7/+12
* | | Correctly handle infinity value in PostgreSQL range typeyuuji.yaginuma2018-01-042-2/+10
* | | Merge pull request #31331 from dinahshi/postgresql_bulk_updateMatthew Draper2018-01-032-5/+40
|\ \ \
| * | | Add bulk alter support for PostgreSQLDinah Shi2017-12-062-5/+40
* | | | Merge pull request #25456 from ojab/masterRyuta Kamizono2018-01-031-3/+1
|\ \ \ \
| * | | | Remove dormant checkojab2016-06-211-3/+1
* | | | | Merge pull request #27561 from fishbrain/count-all-in-has-many-associationRyuta Kamizono2018-01-031-1/+1
|\ \ \ \ \
| * | | | | Use `count(:all)` in HasManyAssociation#count_recordsKlas Eskilson2017-02-071-1/+1
* | | | | | Remove `association_primary_key_type` from `AssociationReflection` and `Throu...Ryuta Kamizono2018-01-012-10/+2
* | | | | | Refactor delegating `join_primary_key` instead of `join_keys` and `associatio...Ryuta Kamizono2018-01-014-6/+5
* | | | | | Merge pull request #31575 from bogdan/bugfix-has-many-reattachmentRyuta Kamizono2018-01-012-13/+8
|\ \ \ \ \ \
| * | | | | | Bugfix foreign key replacement in inverse associationBogdan Gusiev2017-12-272-13/+8
* | | | | | | Fix recreating partial indexes after alter table for sqlitefatkodima2017-12-311-0/+1
* | | | | | | Fix `cache_key` with a relation having distinct and orderRyuta Kamizono2017-12-301-2/+2
* | | | | | | Fix `cache_key` with a relation having custom select and orderRyuta Kamizono2017-12-291-2/+1
|/ / / / / /
* | | | | | 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-1/+1
* | | | | | save attributes changed by callbacks after update_attributeMike Busch2017-12-221-5/+1
* | | | | | Fix Illegal parameter data type bigint for operation 'get_lock' errorIvan Zinovyev2017-12-201-2/+2
* | | | | | Remove passing needless empty string `options` in `create_table`Ryuta Kamizono2017-12-202-4/+1
* | | | | | Place args normalization from `left_outer_joins` to `left_outer_joins!`Ryuta Kamizono2017-12-201-4/+2
* | | | | | Remove verbose_query_logs from new_framework_defaults_5_2.rbEugene Kenny2017-12-201-2/+1
* | | | | | Merge pull request #31177 from albertoalmagro/remove-default-mysql-engine-fro...Matthew Draper2017-12-202-1/+9
|\ \ \ \ \ \
| * | | | | | Remove default ENGINE=InnoDB for Mysql2 adapterAlberto Almagro2017-12-112-1/+9
* | | | | | | Fix `count(:all)` to correctly work `distinct` with custom SELECT listRyuta Kamizono2017-12-201-10/+8
* | | | | | | Quote primary key in the subselect generated by mysql2 adapterRyuta Kamizono2017-12-191-1/+2
* | | | | | | Using subselect for `delete_all` with `limit` or `offset`Ryuta Kamizono2017-12-191-4/+4
* | | | | | | Using subselect generated by the connection adapter for `update_all` with `of...Ryuta Kamizono2017-12-191-1/+1