rails--rails/activerecord/test/cases
Cristi Balan 7f84f14efa Add rake db:forward - opposite of db:rollback [#768 state:resolved]
Example:
  rake db:forward # performs the next migration
  rake db:forward STEP=4 # performs the next 4 migrations

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-08-08 17:41:43 +01:00
..
associations added :order option to find :first methods and associations as otherwise Oracle tests were failing 2009-08-06 23:40:59 +03:00
validations Add test to verify that the new :inverse_of association option will indeed fix the validation problem for a belongs_to relationship that validates_presence_of the parent, when both the parent and the child are new (in-memory) records. Also check that this works when the parents adds child via nested_attributes_for. 2009-08-08 13:07:49 +02:00
active_schema_test_mysql.rb
active_schema_test_postgresql.rb
adapter_test.rb fixed test_foreign_key_violations_are_translated_to_specific_exception to work with Oracle 2009-08-06 23:41:00 +03: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
attribute_methods_test.rb 1=2 is invalid expression in Oracle SELECT 2009-08-06 23:40:59 +03:00
autosave_association_test.rb Oracle saves empty string as NULL 2009-08-06 23:40:59 +03:00
base_test.rb Add destroyed? to ActiveRecord, include tests for polymorphic urls for destroyed objects and refactor mime responds tests and documentation. 2009-08-07 17:16:16 +02: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 Oracle adapter returns numeric (not string) value after SUM 2009-08-06 23:40:59 +03:00
callbacks_observers_test.rb
callbacks_test.rb Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. 2009-03-08 13:11:58 -07:00
class_inheritable_attributes_test.rb
column_alias_test.rb
column_definition_test.rb
connection_pool_test.rb Add test case for ActiveRecord::ConnectionAdapters::ConnectionManagement. 2009-02-25 12:48:53 -06:00
connection_test_firebird.rb
connection_test_mysql.rb Mysql#reconnect is set according to the 'reconnect' key in the connection spec. 2009-01-27 09:55:25 +13: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
defaults_test.rb Merge commit 'origin/master' into savepoints 2008-12-03 19:30:35 +01:00
deprecated_finder_test.rb
dirty_test.rb Added reset_attribute! method to ActiveRecord::AttributeMethods::Dirty which will reset an attribute to its original value should it have changed. 2009-08-04 16:23:08 -05:00
finder_respond_to_test.rb
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 Reimplement Fixtures.identify so that it consistently generates identities across ruby versions. 2009-05-18 13:40:45 -07:00
helper.rb Move mocha down below initial T::U require and bump version to 0.9.7 [#2858 state:resolved] 2009-07-01 11:53:17 -07:00
i18n_test.rb use :en as a default locale (in favor of :en-US) 2008-11-18 14:23:53 +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
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.rb Add rake db:forward - opposite of db:rollback [#768 state:resolved] 2009-08-08 17:41:43 +01:00
migration_test_firebird.rb
mixin_test.rb
modules_test.rb
multiple_db_test.rb
named_scope_test.rb always sort lists by id before comparison to avoid errors because of different sorting of same results (on Oracle database) 2009-08-06 23:41:00 +03:00
nested_attributes_test.rb Add test to verify that the new :inverse_of association option will indeed fix the validation problem for a belongs_to relationship that validates_presence_of the parent, when both the parent and the child are new (in-memory) records. Also check that this works when the parents adds child via nested_attributes_for. 2009-08-08 13:07:49 +02:00
pk_test.rb
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
reflection_test.rb Add primary_key option to belongs_to association 2009-07-15 18:13:32 -07: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
repair_helper.rb Break up DependencyModule's dual function of providing a "depend_on" DSL and "included" block DSL into separate modules. But, unify both approaches under AS::Concern. 2009-05-28 11:35:36 -05:00
reserved_word_test_mysql.rb
sanitize_test.rb
schema_authorization_test_postgresql.rb
schema_dumper_test.rb fix schema_dumper_test for Oracle as it supports precision up to 38 2009-08-06 23:41:00 +03: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
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
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 SQLite adapters now support DDL transactions [#2080 state:resolved] 2009-03-14 12:58:42 +00:00
unconnected_test.rb
validations_test.rb Deprecate Model#validate/validate_on_create/validate_on_update. Use Model.validate :method and likewise 2009-03-21 19:07:15 +00: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