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
/
locking
/
optimistic.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
PERF: 20% faster pk attribute access
Ryuta Kamizono
2019-04-22
1
-2
/
+2
*
Fix dirty tracking for `touch`
Ryuta Kamizono
2019-04-15
1
-2
/
+1
*
Remove unused splat args in `_create_record`
Ryuta Kamizono
2018-09-02
1
-1
/
+1
*
Use strings instead of symbols on calls to decorate_matching_attribute_types
Dillon Welch
2018-08-10
1
-1
/
+1
*
Fix that after commit callbacks on update does not triggered when optimistic ...
Ryuta Kamizono
2018-03-06
1
-43
/
+6
*
Introduce `_update_row` to decouple optimistic locking concern from `Persiste...
Ryuta Kamizono
2018-03-05
1
-0
/
+31
*
Introduce `_delete_record` and use it for deleting a record
Ryuta Kamizono
2018-03-05
1
-13
/
+9
*
Prefer `_update_record` than `update_all` for updating a record
Ryuta Kamizono
2018-03-05
1
-5
/
+2
*
Refactor `_substitute_values` to be passed attribute names and values
Ryuta Kamizono
2018-03-05
1
-3
/
+1
*
`id_in_database` should be respected as primary key value for persisted records
Ryuta Kamizono
2018-03-05
1
-1
/
+1
*
Ensure we don't write virtual attributes on update, too
Sean Griffin
2018-02-26
1
-0
/
+1
*
Use frozen-string-literal in ActiveRecord
Kir Shatrov
2017-07-19
1
-0
/
+2
*
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 destroy with locking_column value null
bogdanvlviv
2017-06-20
1
-1
/
+1
*
Clean up 'Optimistic Locking' implementation
bogdanvlviv
2017-06-12
1
-3
/
+4
*
Add option for class_attribute default (#29270)
David Heinemeier Hansson
2017-05-29
1
-2
/
+1
*
Remove ability update locking_column value
bogdanvlviv
2017-03-16
1
-6
/
+2
*
No need to nodoc private methods
Akira Matsuda
2016-12-24
1
-2
/
+2
*
Small grammar fix for #26867
Jon Moss
2016-10-23
1
-1
/
+2
*
Add info about updating locking column value
bogdanvlviv
2016-10-23
1
-0
/
+1
*
Added ability update locking_column value
bogdanvlviv
2016-10-21
1
-6
/
+8
*
Fixed: Optimistic locking does not work well with null in the database
bogdanvlviv
2016-10-21
1
-4
/
+6
*
Fix broken comments indentation caused by rubocop auto-correct [ci skip]
Ryuta Kamizono
2016-09-14
1
-4
/
+4
*
Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty lines
Ryuta Kamizono
2016-08-07
1
-1
/
+0
*
normalizes indentation and whitespace across the project
Xavier Noria
2016-08-06
1
-43
/
+43
*
applies new string literal convention in activerecord/lib
Xavier Noria
2016-08-06
1
-5
/
+5
*
Move comment up to the class, for both of the methods, and document on class ...
Vipul A M
2016-05-01
1
-1
/
+4
*
schema_load triggers 2nd schema_load (via locking)
Keenan Brock
2016-04-28
1
-1
/
+1
*
Followup of #15771
Vipul A M
2016-04-24
1
-0
/
+4
*
Fix ActiveRecord::Locking doc [ci skip]
Mehmet Emin İNAÇ
2015-09-24
1
-2
/
+2
*
Call `attributes_for_update` in `_update_record` w/ optimistic locking
Sean Griffin
2015-02-24
1
-1
/
+1
*
`Type#type_cast_from_database` -> `Type#deserialize`
Sean Griffin
2015-02-17
1
-1
/
+1
*
Change `LockingType` to use `DelegateClass`
Sean Griffin
2015-02-09
1
-1
/
+1
*
Attribute assignment and type casting has nothing to do with columns
Sean Griffin
2015-01-31
1
-1
/
+1
*
Go through normal where logic in destroy with locking
Sean Griffin
2015-01-14
1
-6
/
+2
*
Properly persist `lock_version` as 0 if the DB has no default
Sean Griffin
2015-01-09
1
-5
/
+9
*
Tiny documentation fixes [ci skip]
Robin Dupret
2014-12-30
1
-1
/
+1
*
Go through normal `update_all` logic when updating lock columns
Sean Griffin
2014-12-26
1
-17
/
+7
*
We don't need additional type casting for locking updates
Sean Griffin
2014-12-26
1
-3
/
+11
*
Remove the unused second argument to `substitute_at`
Sean Griffin
2014-11-17
1
-1
/
+1
*
Stop using instance exec for type decorators
Sean Griffin & Sean Doyle
2014-06-27
1
-5
/
+16
*
add missing `:nodoc:` for recent refactorings. [ci skip]
Yves Senn
2014-06-24
1
-1
/
+1
*
Don't mess with `column_defaults` when optimistic locking is enabled
Sean Griffin
2014-06-17
1
-10
/
+23
*
Remove deprecated method ActiveRecord::Base.quoted_locking_column
Akshay Vishnoi
2014-06-10
1
-6
/
+0
*
Remove duplicated `@raw_attributes.keys`
Sean Griffin
2014-06-07
1
-1
/
+1
*
Rename attribute related instance variables to better express intent
Sean Griffin
2014-05-30
1
-1
/
+1
*
[Active Record] Renamed private methods create_record and update_record
Prathamesh Sonpatki
2014-02-20
1
-1
/
+1
*
pass the pk to compile_update
Aaron Patterson
2013-11-16
1
-1
/
+4
*
Deprecate unused quoted_locking_column method.
kennyj
2013-09-24
1
-0
/
+1
[next]