index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
lib
/
active_record
/
persistence.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Fix typo a -> an, an -> a [ci skip]
Ryuta Kamizono
2019-02-11
1
-1
/
+1
*
Tell the user what to use instead of update_attributes/!
Xavier Noria
2019-01-23
1
-2
/
+2
*
Restore an ability that class level `update` without giving ids
Ryuta Kamizono
2019-01-02
1
-1
/
+3
*
Fix failing test
Sean Griffin
2018-10-30
1
-0
/
+1
*
`update_columns` raises if the column is unknown
Sean Griffin
2018-10-30
1
-4
/
+4
*
Consolidate duplicated code that initializing an empty model object
Ryuta Kamizono
2018-10-17
1
-1
/
+1
*
Merge pull request #34117 from aergonaut/docs/ActiveRecord--Persistence-belon...
Ryuta Kamizono
2018-10-10
1
-0
/
+2
|
\
|
*
Add docs to ActiveRecord::Persistence#belongs_to_touch_method
Chris Fung
2018-10-07
1
-0
/
+2
*
|
Don't expose `instantiate_instance_of` for internal use
Ryuta Kamizono
2018-09-11
1
-11
/
+7
*
|
Refactor `attributes_for_{create,update}` to avoid an extra allocation
Ryuta Kamizono
2018-08-31
1
-2
/
+0
*
|
Remove `attributes_with_values_for_{create,update}` for internal use
Ryuta Kamizono
2018-08-30
1
-2
/
+5
*
|
Avoid extra scoping when using `Relation#update`
Ryuta Kamizono
2018-07-31
1
-3
/
+1
*
|
Fix documentation based on feedback
Aaron Patterson
2018-06-26
1
-2
/
+6
*
|
Speed up homogeneous AR lists / reduce allocations
Aaron Patterson
2018-06-25
1
-1
/
+7
*
|
`becomes` should clear the mutation tracker which is created in `after_initia...
Ryuta Kamizono
2018-05-11
1
-1
/
+1
*
|
Allow `primary_key` argument to `empty_insert_statement_value`
Yasuo Honda
2018-04-20
1
-1
/
+1
*
|
Fix that `touch(:updated_at)` causes multiple assignments on the column
Ryuta Kamizono
2018-03-23
1
-1
/
+1
*
|
Revert "PERF: Recover `changes_applied` performance (#31698)"
Sean Griffin
2018-03-06
1
-0
/
+1
*
|
Fix that after commit callbacks on update does not triggered when optimistic ...
Ryuta Kamizono
2018-03-06
1
-10
/
+14
*
|
Introduce `_update_row` to decouple optimistic locking concern from `Persiste...
Ryuta Kamizono
2018-03-05
1
-28
/
+14
*
|
Introduce `_delete_record` and use it for deleting a record
Ryuta Kamizono
2018-03-05
1
-8
/
+14
*
|
Prefer `_update_record` than `update_all` for updating a record
Ryuta Kamizono
2018-03-05
1
-23
/
+33
*
|
Refactor `_substitute_values` to be passed attribute names and values
Ryuta Kamizono
2018-03-05
1
-7
/
+7
*
|
`id_in_database` should be respected as primary key value for persisted records
Ryuta Kamizono
2018-03-05
1
-1
/
+1
*
|
`id_in_database` do not return nil value for persisted record
Ryuta Kamizono
2018-03-04
1
-3
/
+3
*
|
Ensure we don't write virtual attributes on update, too
Sean Griffin
2018-02-26
1
-1
/
+1
*
|
Never attempt to write virtual attributes to the database
Sean Griffin
2018-02-26
1
-1
/
+3
*
|
Deprecate update_attributes and update_attributes!
Eddie Lebow
2018-02-17
1
-0
/
+2
*
|
Ignores a default subclass when `becomes(Parent)`
Leonel Galan
2018-01-22
1
-1
/
+2
*
|
PERF: Recover `changes_applied` performance (#31698)
Ryuta Kamizono
2018-01-22
1
-1
/
+0
*
|
Don't allow destroyed object mutation after `save` or `save!` is called
Ryuta Kamizono
2018-01-15
1
-0
/
+1
*
|
save attributes changed by callbacks after update_attribute
Mike Busch
2017-12-22
1
-5
/
+1
*
|
Class level `update` and `destroy` checks all the records exist before making...
Ryuta Kamizono
2017-12-01
1
-9
/
+4
*
|
Maintain raising `RecordNotFound` for class level `update` and` destroy`
Ryuta Kamizono
2017-12-01
1
-4
/
+9
*
|
Avoid creating extra `relation` and `build_arel` in `_create_record` and `_up...
Ryuta Kamizono
2017-11-17
1
-2
/
+41
*
|
Merge pull request #30471 from dylanahsmith/remove-redundant-tracker
Aaron Patterson
2017-09-27
1
-1
/
+1
|
\
\
|
*
|
activerecord: Remove a redundant mutation tracker
Dylan Thacker-Smith
2017-08-30
1
-1
/
+1
*
|
|
`id` (primary key) is not only an integer [ci skip]
Ryuta Kamizono
2017-09-18
1
-1
/
+1
*
|
|
Ensure returning affected objects for class level `update` and `destroy`
Ryuta Kamizono
2017-09-18
1
-2
/
+4
*
|
|
Place class level `update`, `destroy`, and `delete` in `Persistence::ClassMet...
Ryuta Kamizono
2017-09-18
1
-0
/
+92
|
/
/
*
|
Use tt in doc for ActiveRecord [ci skip]
Yoshiyuki Hirano
2017-08-27
1
-2
/
+2
*
|
Use `_relation_for_itself` wherever possible
Sean Griffin
2017-07-26
1
-3
/
+2
*
|
Use frozen-string-literal in ActiveRecord
Kir Shatrov
2017-07-19
1
-0
/
+2
*
|
`Persistence#delete` should not be affected by scoping
Ryuta Kamizono
2017-07-18
1
-1
/
+5
*
|
Merge pull request #29495 from eugeneius/_write_attribute
Matthew Draper
2017-07-09
1
-1
/
+1
|
\
\
|
*
|
Rename raw_write_attribute to write_attribute_without_type_cast
Eugene Kenny
2017-07-07
1
-1
/
+1
*
|
|
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
Matthew Draper
2017-07-02
1
-1
/
+0
*
|
|
Enforce frozen string in Rubocop
Kir Shatrov
2017-07-01
1
-0
/
+1
*
|
|
Fix ActiveRecord::Persistence#touch with locking
bogdanvlviv
2017-06-21
1
-1
/
+1
|
/
/
*
/
Prevent double firing the before save callback of new object when the parent ...
Ryuta Kamizono
2017-04-21
1
-6
/
+20
|
/
[next]