aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/persistence.rb
Commit message (Expand)AuthorAgeFilesLines
* Format 'RETURNING' text in the docs [ci skip]Sharang Dashputre2019-03-251-3/+3
* [ci skip] Documentation pass for insert_all etc.Kasper Timm Hansen2019-03-201-105/+107
* Bulk Insert: Reuse indexes for unique_byKasper Timm Hansen2019-03-201-41/+24
* Update upsert_all documentation [ci skip]Sharang Dashputre2019-03-091-3/+2
* Merge pull request #35531 from boblail/issue-35519Ryuta Kamizono2019-03-091-3/+7
|\
| * Update documentation on upsert_all so that it is correct for PostgresBob Lail2019-03-081-3/+7
* | Minor documentation fixes related to bulk insert [skip ci]Vishal Telangre2019-03-091-10/+13
|/
* [ci skip]Fix typo: constaint -> constraintwillnet2019-03-071-2/+2
* [ci skip] Fix typo beacuse -> becauseAbhay Nikam2019-03-061-1/+1
* Add insert_all to ActiveRecord models (#35077)Bob Lail2019-03-051-0/+197
* Should not pass extra args to `_update_record`Ryuta Kamizono2019-02-211-2/+2
* Replaced usage of where.delete/destroy_all with delete/destroy_byAbhay Nikam2019-02-201-1/+1
* Fix typo a -> an, an -> a [ci skip]Ryuta Kamizono2019-02-111-1/+1
* Tell the user what to use instead of update_attributes/!Xavier Noria2019-01-231-2/+2
* Restore an ability that class level `update` without giving idsRyuta Kamizono2019-01-021-1/+3
* Fix failing testSean Griffin2018-10-301-0/+1
* `update_columns` raises if the column is unknownSean Griffin2018-10-301-4/+4
* Consolidate duplicated code that initializing an empty model objectRyuta Kamizono2018-10-171-1/+1
* Merge pull request #34117 from aergonaut/docs/ActiveRecord--Persistence-belon...Ryuta Kamizono2018-10-101-0/+2
|\
| * Add docs to ActiveRecord::Persistence#belongs_to_touch_methodChris Fung2018-10-071-0/+2
* | Don't expose `instantiate_instance_of` for internal useRyuta Kamizono2018-09-111-11/+7
* | Refactor `attributes_for_{create,update}` to avoid an extra allocationRyuta Kamizono2018-08-311-2/+0
* | Remove `attributes_with_values_for_{create,update}` for internal useRyuta Kamizono2018-08-301-2/+5
* | Avoid extra scoping when using `Relation#update`Ryuta Kamizono2018-07-311-3/+1
* | Fix documentation based on feedbackAaron Patterson2018-06-261-2/+6
* | Speed up homogeneous AR lists / reduce allocationsAaron Patterson2018-06-251-1/+7
* | `becomes` should clear the mutation tracker which is created in `after_initia...Ryuta Kamizono2018-05-111-1/+1
* | Allow `primary_key` argument to `empty_insert_statement_value`Yasuo Honda2018-04-201-1/+1
* | Fix that `touch(:updated_at)` causes multiple assignments on the columnRyuta Kamizono2018-03-231-1/+1
* | Revert "PERF: Recover `changes_applied` performance (#31698)"Sean Griffin2018-03-061-0/+1
* | Fix that after commit callbacks on update does not triggered when optimistic ...Ryuta Kamizono2018-03-061-10/+14
* | Introduce `_update_row` to decouple optimistic locking concern from `Persiste...Ryuta Kamizono2018-03-051-28/+14
* | Introduce `_delete_record` and use it for deleting a recordRyuta Kamizono2018-03-051-8/+14
* | Prefer `_update_record` than `update_all` for updating a recordRyuta Kamizono2018-03-051-23/+33
* | Refactor `_substitute_values` to be passed attribute names and valuesRyuta Kamizono2018-03-051-7/+7
* | `id_in_database` should be respected as primary key value for persisted recordsRyuta Kamizono2018-03-051-1/+1
* | `id_in_database` do not return nil value for persisted recordRyuta Kamizono2018-03-041-3/+3
* | Ensure we don't write virtual attributes on update, tooSean Griffin2018-02-261-1/+1
* | Never attempt to write virtual attributes to the databaseSean Griffin2018-02-261-1/+3
* | Deprecate update_attributes and update_attributes!Eddie Lebow2018-02-171-0/+2
* | Ignores a default subclass when `becomes(Parent)`Leonel Galan2018-01-221-1/+2
* | PERF: Recover `changes_applied` performance (#31698)Ryuta Kamizono2018-01-221-1/+0
* | Don't allow destroyed object mutation after `save` or `save!` is calledRyuta Kamizono2018-01-151-0/+1
* | save attributes changed by callbacks after update_attributeMike Busch2017-12-221-5/+1
* | Class level `update` and `destroy` checks all the records exist before making...Ryuta Kamizono2017-12-011-9/+4
* | Maintain raising `RecordNotFound` for class level `update` and` destroy`Ryuta Kamizono2017-12-011-4/+9
* | Avoid creating extra `relation` and `build_arel` in `_create_record` and `_up...Ryuta Kamizono2017-11-171-2/+41
* | Merge pull request #30471 from dylanahsmith/remove-redundant-trackerAaron Patterson2017-09-271-1/+1
|\ \
| * | activerecord: Remove a redundant mutation trackerDylan Thacker-Smith2017-08-301-1/+1
* | | `id` (primary key) is not only an integer [ci skip]Ryuta Kamizono2017-09-181-1/+1