aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Prevent deadlocks when waiting for connection from pool.Brent Wheeldon2018-03-231-1/+3
* 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
* Extract all `base_class.name` as `polymorphic_name`Ryuta Kamizono2018-03-047-14/+20
* Deprecate `active_support/core_ext/hash/compact`yuuji.yaginuma2018-03-021-2/+0
* Ruby 2.4: take advantage of String#unpack1Jeremy Daer2018-03-012-2/+2
* PostgreSQL adapter also supports bulk alter since #31331 [ci skip]yuuji.yaginuma2018-03-021-1/+1
* Remove staled comment for `JoinDependency#initialize`Ryuta Kamizono2018-03-021-21/+0
* Don't expose `verbose?` helper methodRyuta Kamizono2018-03-021-6/+4
* Use `delegate private: true` for `SchemaCreation`Ryuta Kamizono2018-03-022-5/+3
* Alias `assign_attributes` to `attributes=` for `AttributeAssignment`Ryuta Kamizono2018-02-281-5/+0
* Don't include unused `ActiveSupport::Concern`Ryuta Kamizono2018-02-281-1/+0
* Merge pull request #31171 from sambostock/improve-abstract-class-documentationRyuta Kamizono2018-02-281-10/+36
|\
| * Expand AR::Base.abstract_class documentationSam Bostock2018-02-201-10/+36
* | Fix `#columsn_for_distinct` of MySQL and PostgreSQLkg8m2018-02-272-2/+2
* | Merge pull request #32005 from maschwenk/ar-distinct-order-count-regressionRyuta Kamizono2018-02-271-1/+1
|\ \
| * | Distinct with order #count regressionMax Schwenk2018-02-251-1/+1
* | | Merge pull request #31189 from tgxworld/raise_error_when_advisory_lock_is_not...Rafael França2018-02-271-2/+8
|\ \ \
| * | | Raise an error if advisory lock in migrator was not released.Guo Xiang Tan2017-11-211-2/+8
* | | | Partly revert 91b30a001b79096b60d9424a4664a417dce0b767Ryuta Kamizono2018-02-271-1/+7
* | | | Ensure we don't write virtual attributes on update, tooSean Griffin2018-02-262-1/+2
* | | | Never attempt to write virtual attributes to the databaseSean Griffin2018-02-261-1/+3
| |/ / |/| |
* | | Merge pull request #31895 from kamipo/do_not_attempt_to_find_inverse_of_polym...Ryuta Kamizono2018-02-261-10/+7
|\ \ \
| * | | Do not attempt to automatically find the inverse of a polymorphic `belongs_to...Ryuta Kamizono2018-02-191-10/+4
| * | | Make `reflection.klass` raise if `polymorphic?` not to be misusedRyuta Kamizono2018-02-191-1/+4