Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2171 from arunagw/database-rake-1.9.2

This conditions is required to work with database create task. 1.9.2 is h
  • Loading branch information...
commit 7dadb6aa0a65ff9ecd4b67d0686ab609fb9465ae 2 parents 25ec3c8 + fbf4bee
@spastorino spastorino authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  activerecord/lib/active_record/railties/databases.rake
View
3  activerecord/lib/active_record/railties/databases.rake
@@ -115,7 +115,8 @@ db_namespace = namespace :db do
end
end
else
- $stderr.puts "#{config['database']} already exists"
+ # Bug with 1.9.2 Calling return within begin still executes else
+ $stderr.puts "#{config['database']} already exists" unless config['adapter'] =~ /sqlite/
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.