What do I need to do to DataMapper to have a persistent sqlite database?

Try putting the full path in there (note there are 3 forward slashes): DataMapper. Setup(:default, "sqlite:///path/to/my/database/my. Db") Then you should see my.

Db under path/to/my/database.

Try putting the full path in there (note there are 3 forward slashes): DataMapper. Setup(:default, "sqlite:///path/to/my/database/my. Db") Then you should see my.

Db under /path/to/my/database.

This works nice on a Linux system. How could this be adapted for a Windows solution? Or how can I specify on the path that I want to use the current directory?

– Tempus Jan 19 at 18:06 2 DataMapper. Setup(:default, "sqlite3://#{File. Expand_path(File.

Dirname(__FILE__))}/db. Sqlite") should do the trick. – Dylan Markow Jan 19 at 18:17.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions