aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/locking/optimistic.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Deprecate set_locking_column in favour of self.locking_column=Jon Leighton2011-11-291-8/+13
* Added a note that optimistic locking also needs a hidden field to function ac...Joost Baaij2011-10-251-0/+3
* Consider attempted action in exception message of ActiveRecord::StaleObjectErrorChristian Bäuerlein2011-10-141-2/+2
* Includes stale record in StaleObjectErrorChristian Bäuerlein2011-10-141-2/+2
* Make it the responsibility of the connection to hold onto an ARel visitor for...Jon Leighton2011-08-081-2/+2
* lock_optimistically is typically true, so evaluate the common failure case firstAaron Patterson2011-06-281-1/+1
* Better doc styling in ActiveRecord::LockingSebastian Martinez2011-05-171-15/+15
* Don't quote ID's as Arel will quote them -- follow same conventions as the de...Christopher Meiklejohn2011-05-081-1/+1
* remove some blanksPaco Guzman2011-03-111-1/+1
* removed some duplication from LH issue 5505 regarding AR touch and optimistic...Josh Kalderimis2011-02-091-4/+10