aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/locking/optimistic.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove unused splat args in `_create_record`Ryuta Kamizono2018-09-021-1/+1
* Use strings instead of symbols on calls to decorate_matching_attribute_typesDillon Welch2018-08-101-1/+1
* Fix that after commit callbacks on update does not triggered when optimistic ...Ryuta Kamizono2018-03-061-43/+6
* Introduce `_update_row` to decouple optimistic locking concern from `Persiste...Ryuta Kamizono2018-03-051-0/+31
* Introduce `_delete_record` and use it for deleting a recordRyuta Kamizono2018-03-051-13/+9
* Prefer `_update_record` than `update_all` for updating a recordRyuta Kamizono2018-03-051-5/+2
* Refactor `_substitute_values` to be passed attribute names and valuesRyuta Kamizono2018-03-051-3/+1
* `id_in_database` should be respected as primary key value for persisted recordsRyuta Kamizono2018-03-051-1/+1
* Ensure we don't write virtual attributes on update, tooSean Griffin2018-02-261-0/+1
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Fix destroy with locking_column value nullbogdanvlviv2017-06-201-1/+1
* Clean up 'Optimistic Locking' implementationbogdanvlviv2017-06-121-3/+4
* Add option for class_attribute default (#29270)David Heinemeier Hansson2017-05-291-2/+1
* Remove ability update locking_column valuebogdanvlviv2017-03-161-6/+2
* No need to nodoc private methodsAkira Matsuda2016-12-241-2/+2
* Small grammar fix for #26867Jon Moss2016-10-231-1/+2
* Add info about updating locking column valuebogdanvlviv2016-10-231-0/+1
* Added ability update locking_column valuebogdanvlviv2016-10-211-6/+8
* Fixed: Optimistic locking does not work well with null in the databasebogdanvlviv2016-10-211-4/+6
* Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-4/+4
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-43/+43
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-5/+5
* Move comment up to the class, for both of the methods, and document on class ...Vipul A M2016-05-011-1/+4
* schema_load triggers 2nd schema_load (via locking)Keenan Brock2016-04-281-1/+1
* Followup of #15771Vipul A M2016-04-241-0/+4
* Fix ActiveRecord::Locking doc [ci skip]Mehmet Emin İNAÇ2015-09-241-2/+2
* Call `attributes_for_update` in `_update_record` w/ optimistic lockingSean Griffin2015-02-241-1/+1
* `Type#type_cast_from_database` -> `Type#deserialize`Sean Griffin2015-02-171-1/+1
* Change `LockingType` to use `DelegateClass`Sean Griffin2015-02-091-1/+1
* Attribute assignment and type casting has nothing to do with columnsSean Griffin2015-01-311-1/+1
* Go through normal where logic in destroy with lockingSean Griffin2015-01-141-6/+2
* Properly persist `lock_version` as 0 if the DB has no defaultSean Griffin2015-01-091-5/+9
* Tiny documentation fixes [ci skip]Robin Dupret2014-12-301-1/+1
* Go through normal `update_all` logic when updating lock columnsSean Griffin2014-12-261-17/+7
* We don't need additional type casting for locking updatesSean Griffin2014-12-261-3/+11
* Remove the unused second argument to `substitute_at`Sean Griffin2014-11-171-1/+1
* Stop using instance exec for type decoratorsSean Griffin & Sean Doyle2014-06-271-5/+16
* add missing `:nodoc:` for recent refactorings. [ci skip]Yves Senn2014-06-241-1/+1
* Don't mess with `column_defaults` when optimistic locking is enabledSean Griffin2014-06-171-10/+23
* Remove deprecated method ActiveRecord::Base.quoted_locking_columnAkshay Vishnoi2014-06-101-6/+0
* Remove duplicated `@raw_attributes.keys`Sean Griffin2014-06-071-1/+1
* Rename attribute related instance variables to better express intentSean Griffin2014-05-301-1/+1
* [Active Record] Renamed private methods create_record and update_recordPrathamesh Sonpatki2014-02-201-1/+1
* pass the pk to compile_updateAaron Patterson2013-11-161-1/+4
* Deprecate unused quoted_locking_column method.kennyj2013-09-241-0/+1
* Tidy up the "Specified column type for quote_value" changesBen Woosley2013-07-221-1/+1
* Specified column type for quote_valueAlfred Wong2013-07-221-1/+1