limhoff-r7/metasploit-framework — pull request #13 by limhoff-r7 (2013-12-02 15:25:50+00:00)
Title: Call create_database on correct object

MSP-9106

create_database is defined on `ActiveRecord::Base#connection`, not
`ActiveRecord::Base` directly. The specs didn't catch this because
creating a database has to be done with should_receives and stubs. The
error was detected by doing `rake db:drop` and allowing `msfconsole` to
try to create the database.