diff options
author | Corey Johnson <probablycorey@gmail.com> | 2009-10-27 16:30:24 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-02-02 10:12:07 +0100 |
commit | f4e5303bcf36f845ba0808250c44eae26860e366 (patch) | |
tree | b1ec9e6e9ceaada4bbd20c9c88e0fe9d3a25dd15 /activerecord | |
parent | f16e2ae9c96246ad4eb6b1b26c71150c53e75fbe (diff) | |
download | rails-f4e5303bcf36f845ba0808250c44eae26860e366.tar.gz rails-f4e5303bcf36f845ba0808250c44eae26860e366.tar.bz2 rails-f4e5303bcf36f845ba0808250c44eae26860e366.zip |
fixed migration logger bug [#3434 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index c059b2d18b..c5630ba2fd 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -488,7 +488,7 @@ module ActiveRecord runnable.pop if down? && !target.nil? runnable.each do |migration| - Base.logger.info "Migrating to #{migration.name} (#{migration.version})" + Base.logger.info "Migrating to #{migration.name} (#{migration.version})" if Base.logger # On our way up, we skip migrating the ones we've already migrated next if up? && migrated.include?(migration.version.to_i) |