diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-16 11:21:20 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-16 11:21:20 -0800 |
commit | 536433845d1d13b46483beac6bb5e7ba91008d2a (patch) | |
tree | f7618c83359341c413ad84acf4e8b27495a19371 /activerecord/lib | |
parent | 7312b8318f0c770d363a62d679aa8f67a18e549b (diff) | |
download | rails-536433845d1d13b46483beac6bb5e7ba91008d2a.tar.gz rails-536433845d1d13b46483beac6bb5e7ba91008d2a.tar.bz2 rails-536433845d1d13b46483beac6bb5e7ba91008d2a.zip |
silencing migrator tests, refactoring the migration test helper
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index 2a9139749d..a79c7fac1d 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -341,13 +341,14 @@ module ActiveRecord cattr_accessor :verbose - attr_accessor :name, :version + attr_accessor :name, :version, :verbose def initialize(name = self.class.name, version = nil) @name = name @version = version @connection = nil @reverting = false + @verbose = self.class.verbose end # instantiate the delegate object after initialize is defined |