1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/adapters
schneems f036239447 Create sqlite3 directory if not present
If the `db/` directory is not present on a remote machine it will blow up in unexpected ways with error messages that do not indicate there is a missing directory:

```
SQLite3::CantOpenException: unable to open database file
```

This PR checks to see if a directory exists for the sqlite3 file and if not creates it for you.

This PR is an alternative to #11692 as suggested by @josevalim
2013-08-05 12:10:52 -04:00
..
firebird
mysql Merge pull request #11455 from antonio/fix_enable_extension_not_being_defined 2013-08-02 06:53:30 -07:00
mysql2 Cleanup of class_name 2013-07-28 15:00:55 +01:00
oracle
postgresql fix for postgresql failing test in local 2013-08-04 00:37:33 +05:30
sqlite3 Create sqlite3 directory if not present 2013-08-05 12:10:52 -04:00