rails--rails/activerecord/test
Jeremy Kemper 390e6d246c r2915@asus: jeremy | 2005-11-06 05:02:53 -0800
Rename Base.constrain to Base.with_scope so it doesn't conflict with existing concept of database constraints.  Make scoping more robust: uniform method => parameters, validated method names and supported finder parameters, raise exception on nested scopes.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-06 10:18:51 +00:00
..
connections Changed :dbfile to :database for SQLite adapter for consistency (old key still works as an alias) (closes #2644) [Dan Peterson] 2005-10-30 08:10:04 +00:00
fixtures Added extension capabilities to has_many and has_and_belongs_to_many proxies [DHH] Added find_or_create_by_X as a second type of dynamic finder that'll create the record if it doesn't already exist [DHH] Added constrain scoping for creates using a hash of attributes bound to the :creation key [DHH] 2005-11-04 19:39:50 +00:00
aaa_create_tables_test.rb Simplify aaa_create_tables_test 2005-07-05 05:08:24 +00:00
abstract_unit.rb Refactor DB exceptions and deal more with DB2 (closes #2624) 2005-10-27 08:18:41 +00:00
active_schema_mysql.rb
adapter_test.rb r3957@asus: jeremy | 2005-10-16 00:01:55 -0700 2005-10-16 04:05:15 +00:00
aggregations_test.rb Do not use instantiated fixtures (in general) in tests. Also, support the use of transactional fixtures by setting the AR_TX_FIXTURES environment variable to "yes". 2005-06-10 14:58:02 +00:00
all.sh
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
associations_extensions_test.rb Added extension capabilities to has_many and has_and_belongs_to_many proxies [DHH] Added find_or_create_by_X as a second type of dynamic finder that'll create the record if it doesn't already exist [DHH] Added constrain scoping for creates using a hash of attributes bound to the :creation key [DHH] 2005-11-04 19:39:50 +00:00
associations_go_eager_test.rb r2736@asus: jeremy | 2005-10-24 17:08:12 -0700 2005-10-25 18:14:09 +00:00
associations_test.rb Added extension capabilities to has_many and has_and_belongs_to_many proxies [DHH] Added find_or_create_by_X as a second type of dynamic finder that'll create the record if it doesn't already exist [DHH] Added constrain scoping for creates using a hash of attributes bound to the :creation key [DHH] 2005-11-04 19:39:50 +00:00
base_test.rb r2915@asus: jeremy | 2005-11-06 05:02:53 -0800 2005-11-06 10:18:51 +00:00
binary_test.rb Fixed a few sqlserver test case errors. Closes #2486 2005-10-17 18:17:05 +00:00
callbacks_test.rb Association validation does not belong in a before_save callback: move it into a validation method. Restores the expected model.valid? == model.save. Add tests for cancelling save by returning false from a before_save callback. Remove assumption that before_destroy's return value indicates whether the record was destroyed. 2005-10-02 02:00:50 +00:00
class_inheritable_attributes_test.rb Make all of tests runnable on their own. 2005-10-19 22:53:55 +00:00
column_alias_test.rb r2718@asus: jeremy | 2005-10-23 14:45:30 -0700 2005-10-23 19:02:38 +00:00
conditions_scoping_test.rb r2915@asus: jeremy | 2005-11-06 05:02:53 -0800 2005-11-06 10:18:51 +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
deprecated_associations_test.rb Adds :nullify option to :depends. Closes #2015 (Robby Russell) 2005-10-15 00:46:55 +00:00
deprecated_finder_test.rb Added migration support for Oracle (closes #2647) [Michael Schoen] 2005-10-29 18:40:49 +00:00
finder_test.rb Added extension capabilities to has_many and has_and_belongs_to_many proxies [DHH] Added find_or_create_by_X as a second type of dynamic finder that'll create the record if it doesn't already exist [DHH] Added constrain scoping for creates using a hash of attributes bound to the :creation key [DHH] 2005-11-04 19:39:50 +00:00
fixtures_test.rb Added migration support for Oracle (closes #2647) [Michael Schoen] 2005-10-29 18:40:49 +00:00
inheritance_test.rb Refactor DB exceptions and deal more with DB2 (closes #2624) 2005-10-27 08:18:41 +00:00
lifecycle_test.rb Use assignment instead of call 2005-09-25 08:48:30 +00:00
locking_test.rb Do not use instantiated fixtures (in general) in tests. Also, support the use of transactional fixtures by setting the AR_TX_FIXTURES environment variable to "yes". 2005-06-10 14:58:02 +00:00
migration_test.rb Added that an DuplicateMigrationVersionError gets raised when multiple migrations have the same version number. 2005-10-31 15:43:02 +00:00
mixin_nested_set_test.rb Updated all references to the old find_first and find_all to use the new style #1511 [Marcel Molina] 2005-06-26 11:25:32 +00:00
mixin_test.rb Add ability to get all siblings, including the current child, with acts_as_tree. Recloses #2140. 2005-10-09 18:51:30 +00:00
modules_test.rb Updated all references to the old find_first and find_all to use the new style #1511 [Marcel Molina] 2005-06-26 11:25:32 +00:00
multiple_db_test.rb Do not use instantiated fixtures (in general) in tests. Also, support the use of transactional fixtures by setting the AR_TX_FIXTURES environment variable to "yes". 2005-06-10 14:58:02 +00:00
pk_test.rb r2736@asus: jeremy | 2005-10-24 17:08:12 -0700 2005-10-25 18:14:09 +00:00
readonly_test.rb r2915@asus: jeremy | 2005-11-06 05:02:53 -0800 2005-11-06 10:18:51 +00:00
reflection_test.rb Add test coverage for content_columns. Closes #2432. 2005-10-11 03:51:58 +00:00
schema_dumper_test.rb Added migration support for Oracle (closes #2647) [Michael Schoen] 2005-10-29 18:40:49 +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_oci.rb Made Oracle a first-class connection adapter by adhering closer to idiomatic Oracle style #1798 [The Gang of Oracles] 2005-07-24 14:01:35 +00:00
threaded_connections_test.rb Deprecated ActiveRecord::Base.threaded_connection in favor of ActiveRecord::Base.allow_concurrency. 2005-10-12 22:37:28 +00:00
transactions_test.rb Move transaction thread-safety test to transactions_test. Check that simultaneous transactions don't step on each others' toes. Check that simultaneous transactions don't give dirty reads (read-committed txn isolation or greater.) 2005-09-30 03:39:15 +00:00
unconnected_test.rb Do not use instantiated fixtures (in general) in tests. Also, support the use of transactional fixtures by setting the AR_TX_FIXTURES environment variable to "yes". 2005-06-10 14:58:02 +00:00
validations_test.rb Add Model.create! to match existing model.save! method. When save! raises RecordInvalid, you can catch the exception, retrieve the invalid record (invalid_exception.record), and see its errors (invalid_exception.record.errors). 2005-11-03 18:54:16 +00:00