aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/persistence.rb
Commit message (Expand)AuthorAgeFilesLines
* Accessing ivar with Symbols might be just a very little bit better than with ...Akira Matsuda2019-07-311-5/+5
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Extract `readonly_attribute?`Ryuta Kamizono2019-05-271-1/+1
* Extract `_raise_record_not_touched_error`Ryuta Kamizono2019-04-291-10/+12
* Avoid redundant `attribute_alias?` before `attribute_alias`Ryuta Kamizono2019-04-241-2/+7
* PERF: 20% faster pk attribute accessRyuta Kamizono2019-04-221-4/+5
* Avoid method call if `@transaction_state` is not finalizedRyuta Kamizono2019-04-211-3/+3
* Fix dirty tracking for `touch`Ryuta Kamizono2019-04-151-3/+4
* Lazy sync with transaction state on destroyRyuta Kamizono2019-04-101-1/+0
* Fix upsert method commentRyo Hashimoto2019-04-091-1/+1
* Don't assign to `@changed_attributes` in `becomes`Ryuta Kamizono2019-04-031-1/+0
* Use official database name [ci skip]Ryuta Kamizono2019-04-031-5/+5
* Fix the markup for `insert_all` and `upsert_all` docs [ci skip]Ryuta Kamizono2019-04-031-7/+7
* 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