aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/locking_test.rb
Commit message (Expand)AuthorAgeFilesLines
* indentationAaron Patterson2013-06-111-1/+1
* Fix ActiveRecord locking column defaults not getting persistedAaron Pfeifer2013-03-181-0/+8
* remove ancient TODOs [ci skip].Yves Senn2013-03-181-3/+0
* Rename update_attributes method to update, keep update_attributes as an aliasAmparo Luna + Guillermo Iguaran2013-01-031-1/+1
* Use a model without counter cache to test read-only attributesRafael Mendonça França2012-08-211-9/+10
* removed deprecation warningsAndrey Deryabin2012-04-281-2/+2
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-1/+1
* remove tests for #with_scope (it's now deprecated)Jon Leighton2012-04-251-11/+0
* fix testJon Leighton2012-03-301-1/+2
* whitespace :scissors:Jon Leighton2012-03-301-4/+3
* Tests for removing a HABTM association when optimistic locking is enabled.Nick Rogers2012-03-071-1/+11
* Add ActiveRecord::Base#with_lockOlek Janiszewski2012-01-181-0/+20
* removed unnecessary +1 from assert_difference because default difference is 1Karunakar (Ruby)2012-01-051-1/+1
* refactored tests -- assert_diffrence instead of checking directly with countKarunakar (Ruby)2012-01-041-4/+7
* Merge branch 'master' of git://github.com/rails/railsDmitry Polushkin2011-12-311-15/+24
|\
| * remove deprecated set and original methods for table_name, primary_key, etcSergey Nartimov2011-12-211-42/+0
| * Removed test which works only < 1.9Arun Agrawal2011-12-211-10/+0
| * Fix up test altering global state that was causing me griefJon Leighton2011-12-011-2/+4
| * Deprecated `define_attr_method` in `ActiveModel::AttributeMethods`Jon Leighton2011-11-291-1/+3
| * Deprecate set_locking_column in favour of self.locking_column=Jon Leighton2011-11-291-1/+41
| * Deprecate set_table_name in favour of self.table_name= or defining your own m...Jon Leighton2011-11-291-1/+1
| * Includes stale record in StaleObjectErrorChristian Bäuerlein2011-10-141-1/+18
* | Test polymorphic record with optimistic locking and counter cache should be d...Dmitry Polushkin2011-09-091-0/+12
|/
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* Don't quote ID's as Arel will quote them -- follow same conventions as the de...Christopher Meiklejohn2011-05-081-1/+35
* The optimistic lock column should be increased when calling touchFranck Verrot2011-02-091-0/+8
* this test requires the job model, so we should require itAaron Patterson2011-02-081-0/+1
* fixing bug where 1.8 hangs while running pg testsAaron Patterson2011-01-181-1/+1
* In a number of places in the tests, we only need to turn off transactional fi...Jon Leighton2011-01-111-25/+29
* Enable the sqlite3 in-memory test connection to workJon Leighton2011-01-111-2/+2
* Don't depend on rubygems loading thread (for Mutex)raggi2010-11-251-0/+1
* clear any stale connections before messing with threaded testsAaron Patterson2010-10-131-0/+1
* Update the ActiveRecord tests to not set unused optionsCarl Lerche2010-10-131-2/+0
* Set destroyed=true in opt locking's destroy [#5058 state:resolved]Jacob Lewallen2010-07-141-1/+2
* eliminate alias_method_chain from ActiveRecordwycats2010-05-091-3/+6
* Destroy respects optimistic locking.Curtis Hawthorne2010-04-271-3/+48
* Don't publicize with_scope for tests since it may shadow public misuseJeremy Kemper2009-12-281-1/+1
* Revert "Ensure Model#destroy respects optimistic locking"Jeremy Kemper2009-11-171-18/+0
* Ruby 1.9: skip pg locking test for 1.9.1 alsoJeremy Kemper2009-11-151-1/+1
* Skip pg locking test due to connection checkout deadlock detectionJeremy Kemper2009-11-141-5/+8
* Ensure Model#destroy respects optimistic locking [#1966 state:resolved]Curtis Hawthorne2009-03-091-0/+18
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-5/+5
* Remove SQL Server cases from tests for latest adapter work to pass rails expe...Ken Collins2008-11-191-2/+2
* Default connection allow_concurrency to false (for PostgreSQL)Nick Sieger2008-09-041-0/+2
* Make clear_active_connections! also return stale connections back to the poolNick Sieger2008-08-291-2/+0
* Remove CachedConnectionPerThread per-thread pooling mechanism in favor of a f...Nick Sieger2008-08-291-0/+2
* Deprecate allow_concurrency and make it have no effectNick Sieger2008-08-291-7/+0
* Partial updates don't update lock_version if nothing changed. [#426 state:re...Daniel Morrison2008-06-221-0/+20
* Fixed that pessimistic locking you reference the quoted table name (Josh Suss...David Heinemeier Hansson2008-04-301-1/+8