aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* Remove `ForeignKeys` module which was introduced at #32299Ryuta Kamizono2018-04-023-14/+2
* Fix two-level database configurations with URLsEugene Kenny2018-03-311-1/+1
* Merge pull request #32366 from utilum/use_current_configAndrew White2018-03-301-1/+1
|\
| * Use current_config in structure_dumputilum2018-03-291-1/+1
* | Merge pull request #32384 from riseshia/remove-expired-documentAndrew White2018-03-301-15/+1
|\ \
| * | Remove expired explanation [ci skip]Shia2018-03-301-15/+1
* | | Remove shadowing variable warningAndrew White2018-03-301-2/+2
|/ /
* | Merge pull request #32338 from eugeneius/dont_clobber_foreign_keyRyuta Kamizono2018-03-301-2/+2
|\ \
| * | Don't unset foreign key when preloading missing recordEugene Kenny2018-03-241-2/+2
* | | Short circuit the scoping delegation for `relation.all`Ryuta Kamizono2018-03-301-0/+1
| |/ |/|
* | Merge pull request #30956 from CJStadler/with-lock-changed-deprecationRafael França2018-03-281-1/+1
* | Merge pull request #32299 from davidstosik/expose-fk-ignore-patternGuillermo Iguaran2018-03-274-2/+24
|\ \
| * | Move fk_ignore_pattern from config.active_record to SchemaDumperDavid Stosik2018-03-224-8/+7
| * | Document config.active_record.fk_ignore_patternDavid Stosik2018-03-201-0/+4
| * | Expose foreign key name ignore pattern in configurationDavid Stosik2018-03-196-2/+21
* | | Merge pull request #32274 from eileencodes/part-1-add-rake-tasks-for-multi-dbEileen M. Uchitelle2018-03-264-21/+142
|\ \ \ | |_|/ |/| |
| * | Refactor configs_for and friendseileencodes2018-03-215-56/+88
| * | Update schema/structure dump tasks for multi dbeileencodes2018-03-212-14/+36
| * | Add ability to create/drop/migrate all dbs for a given enveileencodes2018-03-212-8/+11
| * | Add create/drop/migrate db tasks for each database in the environmenteileencodes2018-03-211-0/+25
| * | Add DatabaseConfig Struct and associated methodseileencodes2018-03-211-0/+39
| |/
* | Merge pull request #32306 from danhuynhdev/feature/store-accessor-prefixAndrew White2018-03-241-5/+20
|\ \
| * | Add custom prefix to ActiveRecord::Store accessorsTan Huynh2018-03-231-5/+20
* | | Fix that `touch(:updated_at)` causes multiple assignments on the columnRyuta Kamizono2018-03-231-1/+1
|/ /
* | Merge pull request #32221 from composerinteralia/batch-predicate-builderRyuta Kamizono2018-03-221-10/+16
|\ \
| * | Use PredicateBuilder for bind params in BatchesDaniel Colson2018-03-111-10/+16
* | | Support mysql2 0.4.x and 0.5.xAaron Stone2018-03-201-1/+1
| |/ |/|
* | Add MySQL JSON reference to ActiveRecord::Store documentationSaverio Miroddi2018-03-171-2/+2
* | Merge pull request #32271 from eileencodes/fix-three-tier-default-connectionEileen M. Uchitelle2018-03-162-1/+4
|\ \
| * | Fix connection handling with three-tier configeileencodes2018-03-162-1/+4
| |/
* | :scissors:Rafael Mendonça França2018-03-161-1/+0
* | Fix multiline expression indexes for postgresql (#31621)fatkodima2018-03-161-1/+1
* | Merge pull request #31250 from lsylvester/only-preload-misses-on-multifetch-c...Kasper Timm Hansen2018-03-154-8/+60
|\ \
| * | Only preload misses on multifetch cacheLachlan Sylvester2018-03-064-8/+60
* | | Ensure that leading date is stripped by quoted_timeAndrew White2018-03-111-1/+1
* | | Normalize date component when writing to time columnsAndrew White2018-03-111-1/+1
| |/ |/|
* | Merge pull request #32213 from yujideveloper/feature/delegate-ar-base-pick-to...Ryuta Kamizono2018-03-091-1/+1
|\ \
| * | Add `delegate :pick, to: :all`Yuji Hanamura2018-03-091-1/+1
|/ /
* | Revert "PERF: Recover `changes_applied` performance (#31698)"Sean Griffin2018-03-062-2/+5
* | Fix dependence on has_one/belongs_to relationshipsFernando Gorodscy2018-03-062-1/+10
|/
* update comment to reflect new supported patterns [ci skip]Xavier Noria2018-03-061-0/+4
* whitelist NULLS { FIRST | LAST } in order clausesXavier Noria2018-03-061-1/+8
* Fix that after commit callbacks on update does not triggered when optimistic ...Ryuta Kamizono2018-03-062-53/+20
* Introduce `_update_row` to decouple optimistic locking concern from `Persiste...Ryuta Kamizono2018-03-052-28/+45
* Introduce `_delete_record` and use it for deleting a recordRyuta Kamizono2018-03-052-21/+23
* Prefer `_update_record` than `update_all` for updating a recordRyuta Kamizono2018-03-052-28/+35
* Refactor `_substitute_values` to be passed attribute names and valuesRyuta Kamizono2018-03-053-23/+15
* `id_in_database` should be respected as primary key value for persisted recordsRyuta Kamizono2018-03-052-2/+2
* `id_in_database` do not return nil value for persisted recordRyuta Kamizono2018-03-042-4/+4
* Eager loading with polymorphic associations should behave consistentlyRyuta Kamizono2018-03-042-7/+5