aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/locking_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix `touch` option to behave consistently with `Persistence#touch` methodRyuta Kamizono2018-06-181-9/+15
* Merge pull request #30956 from CJStadler/with-lock-changed-deprecationRafael França2018-03-281-0/+11
* `id_in_database` should be respected as primary key value for persisted recordsRyuta Kamizono2018-03-051-0/+39
* Fix `test_counter_cache_with_touch_and_lock_version` failurebogdanvlviv2018-02-071-1/+3
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-3/+3
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-11/+11
* Change refute to assert_notDaniel Colson2018-01-251-1/+1
* Fix `test_counter_cache_with_touch_and_lock_version` failureRyuta Kamizono2017-12-181-2/+2
* Fix conflicts `counter_cache` with `touch: true` by optimistic locking.bogdanvlviv2017-12-121-1/+33
* Should pass `test_no_locks_no_wait` not only on `PostgreSQLAdapter` and `Orac...Ryuta Kamizono2017-11-091-8/+5
* Rase when calling `lock!` in a dirty recordRafael Mendonça França2017-10-231-11/+11
* 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 ActiveRecord::Persistence#touch with lockingbogdanvlviv2017-06-211-2/+25
* Fix destroy with locking_column value nullbogdanvlviv2017-06-201-0/+25
* Add test cases for optimistic lockingbogdanvlviv2017-06-121-0/+19
* Remove ability update locking_column valuebogdanvlviv2017-03-161-34/+0
* Deprecate locking of dirty recordsMarc Schütz2017-02-071-1/+4
* `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-1/+1
* Privatize unneededly protected methods in Active Record testsAkira Matsuda2016-12-241-1/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* Added ability update locking_column valuebogdanvlviv2016-10-211-0/+76
* Fixed: Optimistic locking does not work well with null in the databasebogdanvlviv2016-10-211-11/+55
* Clear attribute changes after handling lockingJakob Skjerning2016-09-141-0/+1
* 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-23/+23
* modernizes hash syntax in activerecordXavier Noria2016-08-061-12/+12
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-53/+53
* Followup of #15771Vipul A M2016-04-241-0/+6
* Fix tests failure with `prepared_statements: false`Ryuta Kamizono2016-02-291-1/+1
* Fix test failures caused by 574f255Sean Griffin2015-12-141-1/+1
* Fix the test that was broken by #16445 rather than deleting itSean Griffin2015-07-191-0/+12
* Fix counter_cache for polymorphic associationsStefan Kanev2015-07-191-12/+0
* Raise StaleObjectError if touched object is stale and locking is enabledMehmet Emin İNAÇ2015-04-191-0/+10
* Closes rails/rails#18864: Renaming transactional fixtures to transactional testsBrandon Weiss2015-03-161-3/+3
* Properly persist `lock_version` as 0 if the DB has no defaultSean Griffin2015-01-091-2/+4
* Go through normal `update_all` logic when updating lock columnsSean Griffin2014-12-261-2/+0
* Dynamically modified schema and association would not be correctly resetAkira Matsuda2014-09-061-16/+9
* Reset schema properly after schema changing testAkira Matsuda2014-08-281-0/+2
* Don't mess with `column_defaults` when optimistic locking is enabledSean Griffin2014-06-171-0/+7
* Remove deprecated method ActiveRecord::Base.quoted_locking_columnAkshay Vishnoi2014-06-101-4/+0
* Remove dead test code for unsupported adaptersSean Griffin2014-05-171-3/+1
* Correctly send the string given to lock! and reload(:lock) to the lock scope ...Mauricio Linhares2014-01-291-0/+11
* Deprecate unused quoted_locking_column method.kennyj2013-09-241-0/+4
* Tidy up the "Specified column type for quote_value" changesBen Woosley2013-07-221-1/+0
* Specified column type for quote_valueAlfred Wong2013-07-221-0/+13
* Reset @column_defaults when assigning .kennyj2013-07-141-0/+1
* Do not invoke callbacks when delete_all is calledNeeraj Singh2013-06-301-0/+1
* indentationAaron Patterson2013-06-111-1/+1