database_from_path()
private

Returns name of the database. Sqlite3’s handling of a leading slash is in transition as of Rails 4.1.