rails--rails/activerecord/test
Jeremy Kemper 722e0b6a8b r4664@asus: jeremy | 2006-06-19 18:55:36 -0700
Use the #lock method to obtain a row lock on a single record. Simply reloads the record with :lock => true.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4462 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-20 01:58:36 +00:00
..
connections Fixed issues with BLOB limits, charsets, and booleans for Firebird (closes #5194, #5191, #5189) [kennethkunz@gmail.com] 2006-06-03 21:57:03 +00:00
fixtures For Firebird adapter 2006-06-03 21:52:22 +00:00
aaa_create_tables_test.rb Make more Firebird tests pass (closes #5188) [kennethkunz@gmail.com] 2006-06-03 21:47:29 +00:00
abstract_unit.rb Make more Firebird tests pass (closes #5188) [kennethkunz@gmail.com] 2006-06-03 21:47:29 +00:00
active_schema_mysql.rb More incremental work on active schema for MySQL 2005-03-10 14:24:28 +00:00
adapter_test.rb Add support for FrontBase (http://www.frontbase.com/) with a new adapter thanks to the hard work of one Mike Laster. Closes #4093. [mlaster@metavillage.com] 2006-04-27 22:39:45 +00:00
aggregations_test.rb Added :allow_nil option for aggregations (closes #5091) [ian.w.white@gmail.com] 2006-05-21 17:32:37 +00:00
all.sh Initial 2004-11-24 01:04:44 +00:00
ar_schema_test.rb Added migration support for Oracle (closes #2647) [Michael Schoen] 2005-10-29 18:40:49 +00:00
association_callbacks_test.rb DRYed up Associations#clear. Closes #1906 [Caleb] 2005-10-14 12:53:39 +00:00
association_inheritance_reload.rb Fixed dependency reloading by switching to a remove_const approach where all Active Records, Active Record Observers, and Action Controllers are reloading by undefining their classes. This enables you to remove methods in all three types and see the change reflected immediately and it fixes #539. This also means that only those three types of classes will benefit from the const_missing and reloading approach. If you want other classes (like some in lib/) to reload, you must use require_dependency to do it. 2005-01-25 18:45:06 +00:00
associations_cascaded_eager_loading_test.rb Allow :uniq => true with has_many :through associations. 2006-05-06 23:37:56 +00:00
associations_extensions_test.rb Allow multiple association extensions with :extend option (closes #4666) [Josh Susser] 2006-04-11 01:10:42 +00:00
associations_go_eager_test.rb Ensure that Associations#include_eager_conditions? checks both scoped and explicit conditions [Rick] 2006-04-19 14:50:10 +00:00
associations_join_model_test.rb Make more Firebird tests pass (closes #5188) [kennethkunz@gmail.com] 2006-06-03 21:47:29 +00:00
associations_test.rb Fixed that has_many.create ended up with duplicate objects (closes #5250) [daniel@nouvelles-solutions.com] 2006-06-03 21:16:50 +00:00
base_test.rb Change AR::Base#to_param to return a String instead of a Fixnum. Closes #5320. 2006-06-19 16:45:34 +00:00
binary_test.rb Added migrations support to the Sybase adapter (closes #4293) [John R. Sheets] 2006-03-18 03:02:32 +00:00
calculations_test.rb Make more Firebird tests pass (closes #5188) [kennethkunz@gmail.com] 2006-06-03 21:47:29 +00:00
callbacks_test.rb Fixed that Base.save should always return false if the save didn't succeed, including if it has halted by before_save's (closes #1861, #2477) [DHH] 2006-02-28 20:37:21 +00:00
class_inheritable_attributes_test.rb Added reusable reloading support through the inclusion of the Relodable module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets [DHH]. Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]. Refactored extensions to module, class, and object in active support [DHH] 2006-01-29 00:37:39 +00:00
column_alias_test.rb Renamed the "oci" adapter to "oracle", but kept the old name as an alias (closes #4017) [schoenm@earthlink.net] 2006-03-01 16:01:53 +00:00
connection_test_firebird.rb Fixed issues with BLOB limits, charsets, and booleans for Firebird (closes #5194, #5191, #5189) [kennethkunz@gmail.com] 2006-06-03 21:57:03 +00:00
copy_table_sqlite.rb Added migration support for SQLite (using temporary tables to simulate ALTER TABLE) #1771 [Sam Stephenson] 2005-07-22 19:58:03 +00:00
default_test_firebird.rb r3116@asus: jeremy | 2005-11-16 00:17:06 -0800 2005-11-16 08:18:13 +00:00
defaults_test.rb defaults_test gets a dummy test method so it has at least one test to run 2006-02-09 19:32:32 +00:00
deprecated_associations_test.rb fix test_find_in_association_with_options test, tweak other tests affected by developer/project addition 2006-03-16 03:24:40 +00:00
deprecated_finder_test.rb Add support for FrontBase (http://www.frontbase.com/) with a new adapter thanks to the hard work of one Mike Laster. Closes #4093. [mlaster@metavillage.com] 2006-04-27 22:39:45 +00:00
empty_date_time_test.rb Dates and times interpret empty strings as nil rather than 2000-01-01. Closes #4830. 2006-05-07 07:52:08 +00:00
finder_test.rb Added simple hash conditions to find that'll just convert hash to an AND-based condition string (closes #5143) [hcatlin@gmail.com] 2006-06-03 22:15:06 +00:00
fixtures_test.rb Catch FixtureClassNotFound when using instantiated fixtures on a fixture that has no ActiveRecord model [Rick Olson] 2006-03-14 15:15:06 +00:00
inheritance_test.rb Added Sybase database adapter that relies on the Sybase Open Client bindings (see http://raa.ruby-lang.org/project/sybase-ctlib) (closes #3765) [John Sheets] 2006-03-02 01:15:41 +00:00
lifecycle_test.rb Use assignment instead of call 2005-09-25 08:48:30 +00:00
locking_test.rb r4664@asus: jeremy | 2006-06-19 18:55:36 -0700 2006-06-20 01:58:36 +00:00
method_scoping_test.rb Add support for :include to with_scope [andrew@redlinesoftware.com] 2006-03-27 06:19:31 +00:00
migration_test.rb Fixed migration trouble with SQLite when NOT NULL is used in the new definition (closes #5215) [greg@lapcominc.com] 2006-06-03 21:41:40 +00:00
mixin_nested_set_test.rb Added Sybase database adapter that relies on the Sybase Open Client bindings (see http://raa.ruby-lang.org/project/sybase-ctlib) (closes #3765) [John Sheets] 2006-03-02 01:15:41 +00:00
mixin_test.rb Expand tabs and strip trailing whitespace. 2005-11-10 06:24:33 +00:00
modules_test.rb Call Inflector#demodulize on the class name when eagerly including an STI model. Closes #5077 [info@loobmedia.com] 2006-05-15 14:08:51 +00:00
multiple_db_test.rb Reloading a model doesn't lose track of its connection. References #2996. 2005-11-24 07:01:43 +00:00
pk_test.rb Add support for FrontBase (http://www.frontbase.com/) with a new adapter thanks to the hard work of one Mike Laster. Closes #4093. [mlaster@metavillage.com] 2006-04-27 22:39:45 +00:00
readonly_test.rb Do not implicitly mark recordss of has_many :through as readonly but do mark habtm records as readonly (eventually only on join tables without rich attributes). 2006-03-30 22:27:32 +00:00
reflection_test.rb Add support for FrontBase (http://www.frontbase.com/) with a new adapter thanks to the hard work of one Mike Laster. Closes #4093. [mlaster@metavillage.com] 2006-04-27 22:39:45 +00:00
schema_dumper_test.rb Prettify output of schema_dumper by making things line up. Closes #4241 [Caio Chassot <caio@v2studio.com>] 2006-04-26 06:15:51 +00:00
schema_test_postgresql.rb Disable transactional fixtures for ar_schema_test and schema_test_postgresql 2005-09-30 00:57:27 +00:00
synonym_test_oracle.rb Renamed the "oci" adapter to "oracle", but kept the old name as an alias (closes #4017) [schoenm@earthlink.net] 2006-03-01 16:01:53 +00:00
threaded_connections_test.rb r4644@asus: jeremy | 2006-06-16 14:57:03 -0700 2006-06-19 22:48:51 +00:00
transactions_test.rb r4644@asus: jeremy | 2006-06-16 14:57:03 -0700 2006-06-19 22:48:51 +00:00
unconnected_test.rb ActiveRecord::Base.remove_connection explicitly closes database connections and doesn't corrupt the connection cache. Introducing the disconnect! instance method for the PostgreSQL, MySQL, and SQL Server adapters; implementations for the others are welcome. References #3591. 2006-02-26 23:12:01 +00:00
validations_test.rb create! no longer blows up when no attributes are passed and a :create scope is in effect (e.g. foo.bars.create! failed whereas foo.bars.create!({}) didn't.) 2006-05-19 01:05:20 +00:00