Permalink
Browse files

Revert "This conditions is required to work with database create task…

…. 1.9.2 is having a bug with "Calling return within begin still executes else". "

No need to worry about 1.9.2 with master
This reverts commit fbf4bee.
  • Loading branch information...
1 parent 3e4d0da commit 29b5e5f66591b41e0297aec29ad8e70c6afaa9c9 @arunagw arunagw committed Dec 27, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 activerecord/lib/active_record/railties/databases.rake
@@ -112,8 +112,7 @@ db_namespace = namespace :db do
end
end
else
- # Bug with 1.9.2 Calling return within begin still executes else
- $stderr.puts "#{config['database']} already exists" unless config['adapter'] =~ /sqlite/
+ $stderr.puts "#{config['database']} already exists"
end
end

0 comments on commit 29b5e5f

Please sign in to comment.