rails/activerecord/test/cases
Paul Gillard 6361d4234c Call initialize_copy when cloning [#3164 state:resolved]
Cloned AR objects are now instantiated through initialize_copy rather than
new/initialize. This allows AR classes to override initialize_copy in order to
implement deep cloning.

Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-10-06 16:25:51 -05:00
..
associations Make has_one with :conditions hash scope build or creation of the associated object with those conditions 2009-09-28 14:50:33 +13:00
validations Changed ActiveRecord to use new callbacks and speed up observers by only notifying events that are actually being consumed. 2009-09-08 10:26:39 -05:00
active_schema_test_mysql.rb Make sure recreate MySQL test database with the proper encoding and collation [#1165 state:resolved] 2008-10-03 22:08:55 +02:00
active_schema_test_postgresql.rb PostgreSQL: update create_database_with_encoding test also 2008-06-07 13:43:52 -07:00
adapter_test.rb No longer require database name for MySQL to allow cross database selects. 2009-08-09 14:35:57 -07:00
aggregations_test.rb Cherry-pick core extensions 2009-05-13 12:00:15 -07:00
ar_schema_test.rb Autoload ActiveRecord files 2008-11-24 11:14:24 -06:00
associations_test.rb Remove the functionality introduce in 28d3390 2008-10-10 17:04:46 +02:00
attribute_methods_test.rb 1=2 is invalid expression in Oracle SELECT 2009-08-06 23:40:59 +03:00
autosave_association_test.rb Define autosave association validation methods only when needed. [#3161 state:resolved] 2009-09-12 16:04:36 +02:00
base_test.rb Call initialize_copy when cloning [#3164 state:resolved] 2009-10-06 16:25:51 -05:00
batches_test.rb Ensure ActiveRecord::Base.find_in_batches fires doesnt fire an extra query unless needed 2009-03-11 15:24:30 +00:00
binary_test.rb Remove SQL Server cases from tests for latest adapter work to pass rails expected behavior. 2008-11-19 18:00:56 +01:00
calculations_test.rb Adding :from scoping to ActiveRecord calculations 2009-08-09 12:43:07 +12:00
callbacks_observers_test.rb Refactor new callbacks and AR implementation. 2009-09-08 10:26:39 -05:00
callbacks_test.rb Refactor new callbacks and AR implementation. 2009-09-08 10:26:39 -05:00
column_alias_test.rb Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails 2008-01-21 17:20:51 +00:00
column_definition_test.rb AR should respect default values for MySQL BINARY and VARBINARY columns. 2009-08-09 21:05:26 -07:00
connection_pool_test.rb Add test case for ActiveRecord::ConnectionAdapters::ConnectionManagement. 2009-02-25 12:48:53 -06:00
connection_test_firebird.rb Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails 2008-01-21 17:20:51 +00:00
connection_test_mysql.rb Enable use of MySQL stored procedures by default. 2009-09-17 10:57:03 -07:00
copy_table_test_sqlite.rb Change table to prevent copying indexes on sqlite2 2009-04-21 13:28:49 +01:00
database_statements_test.rb Oracle needs sequence value for primary key in INSERT statement 2009-08-06 23:40:59 +03:00
datatype_test_postgresql.rb Fixed tests of postgresql money insertion when non-C locale 2009-02-06 13:39:07 +13:00
date_time_test.rb Revert "fallback_string_to_date sets Date._parse comp arg to true, so that strings with two-digit years, e.g. '1/1/09', are interpreted as modern years" [#2019 state:wontfix] 2009-08-05 08:26:12 -05:00
default_test_firebird.rb Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails 2008-01-21 17:20:51 +00:00
defaults_test.rb Merge commit 'origin/master' into savepoints 2008-12-03 19:30:35 +01:00
deprecated_finder_test.rb Fix file permissions 2008-07-31 16:36:23 -05:00
dirty_test.rb I added this feature so that a Map of changed fields could be retrieved 2009-08-31 12:50:27 -05:00
finder_respond_to_test.rb Ensure that respond_to? considers dynamic finder methods. Closes #11538. [floehopper] 2008-04-06 22:26:15 +00:00
finder_test.rb Tidy up the AR tests, removing duplicates and making tests clearer / more focussed. 2009-08-08 14:53:35 +12:00
fixtures_test.rb Fix binary fixture test on Windows 2009-08-08 19:18:38 -07:00
helper.rb Changed ActiveRecord to use new callbacks and speed up observers by only notifying events that are actually being consumed. 2009-09-08 10:26:39 -05:00
i18n_test.rb Model#human_attribute_name now accept symbols [#3025 status:resolved] 2009-08-09 23:55:54 +01:00
inheritance_test.rb added :order to find :all as otherwise Oracle tests were failing 2009-08-06 23:40:59 +03:00
invalid_date_test.rb Oracle adapter returns Time value for DATE columns 2009-08-06 23:40:59 +03:00
json_serialization_test.rb Fix AR json encoding 2009-06-08 19:37:51 -07:00
lifecycle_test.rb Refactor new callbacks and AR implementation. 2009-09-08 10:26:39 -05:00
locking_test.rb Ensure Model#destroy respects optimistic locking [#1966 state:resolved] 2009-03-09 14:56:09 +00:00
method_scoping_test.rb Oracle generates different ORDER BY fragment 2009-08-06 23:40:59 +03:00
migration_test_firebird.rb Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails 2008-01-21 17:20:51 +00:00
migration_test.rb Add tests for scoping schema_migrations index by global table prefix and suffix 2009-08-09 22:59:04 -07:00
mixin_test.rb Force timestamp update 2008-03-31 03:57:25 +00:00
modules_test.rb Changed to use klass instead of constantizing in assign_ids generated method 2009-08-09 02:52:06 -07:00
multiple_db_test.rb Move the transaction counter to the connection object rather than maintaining it on the current Thread. 2008-07-15 21:25:12 +02:00
named_scope_test.rb Prevent overwriting of table name in merging SQL conditions [#2949 state:resolved] 2009-08-10 00:41:36 +01:00
nested_attributes_test.rb Rename nested attributes _delete to _destroy to reflect its actual behavior and DSL (:allow_destroy). Deprecation warning added. [#2889 state:resolved] 2009-09-12 15:59:32 +02:00
pk_test.rb raises exception (ActiveRecord::ConfigurationError with message) on habtm association creation if join table contains a primary key 2009-08-09 22:17:39 -07:00
pooled_connections_test.rb Tests should use ActiveRecord::Base.connection.rollback_db_transaction to rollback a transaction 2009-05-01 16:00:09 +01:00
query_cache_test.rb Oracle adapter recourns count() as numeric (not string) 2009-08-06 23:40:59 +03:00
readonly_test.rb Fix file permissions 2008-07-31 16:36:23 -05:00
reflection_test.rb Make has_one with :conditions hash scope build or creation of the associated object with those conditions 2009-09-28 14:50:33 +13:00
reload_models_test.rb Add missing fixture to allow reload models test to run isolated [#1609 state:resolved] 2008-12-20 20:39:25 +00:00
reserved_word_test_mysql.rb Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails 2008-01-21 17:20:51 +00:00
sanitize_test.rb Change all calls to String#chars to String#mb_chars. 2008-09-21 18:01:15 +02:00
schema_authorization_test_postgresql.rb Rescue spurious failures in case dummy postgresql user or schema already exists 2008-09-04 17:20:07 +02:00
schema_dumper_test.rb PostgreSQL: XML datatype support 2009-08-09 22:24:54 -07:00
schema_test_postgresql.rb Quote table names when casting to regclass so that capitalized tables are supported. [#2418 state:resolved] 2009-04-21 11:43:38 +01:00
serialization_test.rb Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails 2008-01-21 17:20:51 +00:00
state_machine_test.rb Add simple support for ActiveModel's StateMachine for ActiveRecord 2009-08-04 11:03:57 -05:00
synonym_test_oracle.rb Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails 2008-01-21 17:20:51 +00:00
timestamp_test.rb Added :touch option to belongs_to associations that will touch the parent record when the current record is saved or destroyed [DHH] 2009-04-16 17:25:55 -05:00
transactions_test.rb Refactor new callbacks and AR implementation. 2009-09-08 10:26:39 -05:00
unconnected_test.rb Fix file permissions 2008-07-31 16:36:23 -05:00
validations_test.rb Fix default_error_messages back to the original message 2009-09-11 18:34:12 -07:00
xml_serialization_test.rb Patch to ActiveModel's (and ActiveRecord, by association) XML serialization: If two parameters are present in Procs supplied to to_xml's :procs option, the model being serialized will be passed as the second argument [#2373 state:resolved] 2009-07-22 20:47:15 -05:00