Permalink
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...
2 parents 36bd8eb + 8dc4745 commit 0988da62e24abad8ce745bb6ac5431740d02b5ec @spastorino spastorino committed Jul 23, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 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

0 comments on commit 0988da6

Please sign in to comment.