Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2172 from arunagw/database-rake-1.9.2_3-1-stable

Database rake 1.9.2 3 1 stable
  • Loading branch information...
commit 0988da62e24abad8ce745bb6ac5431740d02b5ec 2 parents 36bd8eb + 8dc4745
@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.