aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #31732 from koic/enable_autocorrect_for_lint_end_alignment...Matthew Draper2018-01-191-1/+1
|\
| * Enable autocorrect for `Lint/EndAlignment` copKoichi ITO2018-01-181-1/+1
* | Remove unused `connection` argument from `MigrationContext#current_version`Ryuta Kamizono2018-01-191-3/+3
* | Remove unused `migration_context` in `DatabaseTasks`Ryuta Kamizono2018-01-191-4/+0
* | Use selected_migrations if block_given?oz2018-01-181-1/+1
* | Refactor migration to move migrations paths to connectioneileencodes2018-01-189-140/+168
|/
* Fix relation merger issue with `left_outer_joins`Mehmet Emin INAC2018-01-152-1/+27
* Don't allow destroyed object mutation after `save` or `save!` is calledRyuta Kamizono2018-01-151-0/+1
* `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-2/+3
|\
| * Allow unscoping of left_outer_joinsAndrei Shaidurov2017-03-061-1/+1
* | Don't need to pass `manager` to `convert_join_strings_to_ast`Ryuta Kamizono2018-01-141-2/+2
* | Don't pass garbage args to alias trackerRyuta Kamizono2018-01-142-11/+4
* | 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
* | | | | | | Active Record: Bump license years for 2018 [ci skip]Ryuta Kamizono2018-01-011-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