diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-17 13:31:43 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-17 14:26:34 -0800 |
commit | 0bea9fd6be1c82154d7b2d4adbfc690a2c1df297 (patch) | |
tree | db63f369f5d9ab528c61b0bf19854a412f617b4d /activerecord/test | |
parent | 8b2f801ed8690dcbc61d62e6b3518efaac70a4a4 (diff) | |
download | rails-0bea9fd6be1c82154d7b2d4adbfc690a2c1df297.tar.gz rails-0bea9fd6be1c82154d7b2d4adbfc690a2c1df297.tar.bz2 rails-0bea9fd6be1c82154d7b2d4adbfc690a2c1df297.zip |
schema migrations work as instances
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/migration_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb index acb63d0031..5cd6c735af 100644 --- a/activerecord/test/cases/migration_test.rb +++ b/activerecord/test/cases/migration_test.rb @@ -19,6 +19,7 @@ if ActiveRecord::Base.connection.supports_migrations? class <<self attr_accessor :message_count end + def puts(text="") self.class.message_count ||= 0 self.class.message_count += 1 |