aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/locking/optimistic.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Reset @column_defaults when assigning .kennyj2013-07-141-0/+1
* Deprecate #connection in favour of accessing it via the classBen Moss2013-03-091-2/+2
* Rename update_attributes method to update, keep update_attributes as an aliasAmparo Luna + Guillermo Iguaran2013-01-031-1/+1
* Remove ActiveRecord::ModelJon Leighton2012-10-261-6/+2
* Revert "Get rid of the ActiveRecord::Model::DeprecationProxy thing."Jeremy Kemper2012-10-201-1/+1
* Get rid of the ActiveRecord::Model::DeprecationProxy thing.Jon Leighton2012-10-191-1/+1
* The default value can be set once in #column_defaultsJon Leighton2012-08-171-9/+9
* Remove instance level quote_value method. This method is private and also exi...kennyj2012-07-141-1/+1
* Simplify AR configuration code.Jon Leighton2012-06-151-2/+6