aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/locking/optimistic.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Fix #5797. Error calling dup method on AR model with serialized fieldkennyj2012-05-301-1/+1
* clear up duplication between Persistence#destroy and Locking#destroyJon Leighton2012-03-301-14/+17
* Merge pull request #5334 from courtland/masterJon Leighton2012-03-301-0/+2
|\
| * Fix deleting from a HABTM join table upon destroying an object of a model wit...Nick Rogers2012-03-071-0/+2
* | Removed flag attributes.Robin Roestenburg2012-03-061-1/+1
|/
* Remove unusused variablesJon Leighton2012-03-041-2/+1
* Improve readonly examples and optimistic locking docsCarlos Antonio da Silva2012-01-311-4/+6
* Support configuration on ActiveRecord::Model.Jon Leighton2011-12-281-1/+4
* Deal with global config better between AR::Base and AR::ModelJon Leighton2011-12-241-4/+1
* Make read_attribute code path accessible at the class levelJon Leighton2011-12-221-15/+12
* remove deprecated set and original methods for table_name, primary_key, etcSergey Nartimov2011-12-211-9/+1
* Avoid super; speeds up Model.new by about 12%Jon Leighton2011-12-141-1/+1