Created
September 8, 2010 19:52
-
-
Save esparkman/570717 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| puts "What would you like the name of the new database to be?" | |
| db_name = gets.chomp | |
| dbh.query('CREATE DATABASE #{db_name}') | |
| puts "#{dbh.affected_rows}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment