diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-09-09 06:45:54 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-09-09 06:45:54 -0300 |
commit | 5b1ea3ea00579e45ed8b46a23a007c328f766786 (patch) | |
tree | 72948d860ae4958f826ddb89df10dec5eaf20994 | |
parent | 348c29100c63e09f8af7dc7b08e137f2ebd243a4 (diff) | |
download | rails-5b1ea3ea00579e45ed8b46a23a007c328f766786.tar.gz rails-5b1ea3ea00579e45ed8b46a23a007c328f766786.tar.bz2 rails-5b1ea3ea00579e45ed8b46a23a007c328f766786.zip |
Invert the conditional
-rw-r--r-- | activerecord/lib/active_record/schema.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/schema.rb b/activerecord/lib/active_record/schema.rb index 0a5546a760..f58ee87f1f 100644 --- a/activerecord/lib/active_record/schema.rb +++ b/activerecord/lib/active_record/schema.rb @@ -40,7 +40,7 @@ module ActiveRecord def define(info, &block) # :nodoc: instance_eval(&block) - unless info[:version].blank? + if info[:version].present? initialize_schema_migrations_table connection.assume_migrated_upto_version(info[:version], migrations_paths) end |