aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/locking
Commit message (Expand)AuthorAgeFilesLines
* Fix example for database-specific locking clauseGannon McGibbon2018-10-301-3/+3
* 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
* Merge pull request #30956 from CJStadler/with-lock-changed-deprecationRafael França2018-03-281-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
* Rase when calling `lock!` in a dirty recordRafael Mendonça França2017-10-231-4/+5
* Update links to use https instead of http [ci skip]Yoshiyuki Hirano2017-08-221-1/+1
* Change http postgresql.org links to https [ci skip]yuuji.yaginuma2017-07-301-1/+1
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-192-0/+4
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-022-2/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-012-0/+2
* 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
* Deprecate locking of dirty recordsMarc Schütz2017-02-071-1/+10
* 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
* modernizes hash syntax in activerecordXavier Noria2016-08-061-1/+1
* 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
* Updated MySQL documentation link to MySQL latest version 5.7 everywhere [ci s...amitkumarsuroliya2015-09-101-1/+1
* Update old link in pessimistic.rb commentsAlexander Leishman2015-03-181-1/+1
* 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