
[PATCH] Fix for in-memory Sqlite DB when setup with Hash
Reported by Sergei Zimakov | June 2nd, 2008 @ 04:55 PM
This patch adds Hash syntax for setting up in-memory Sqlite DB.
DataMapper.setup(:something, {:adapter => 'sqlite', :database => ':memory:'})
Hash syntax is used in YAML configuration files (Merb in-memory testing is primary goal of this patch).
Comments and changes to this ticket
-
-
Sergei Zimakov June 13th, 2008 @ 07:18 AM
Postmodern's c4ca5918 has already fix it. Here is another patch, which adds integration spec for ticket's case.
-
Dan Kubb (dkubb) June 13th, 2008 @ 08:26 AM
Its hard to tell what afrench meant, but I think he meant that the patch doesn't apply with "git apply", not that it was invalid or anything :)
-
Sergei Zimakov June 13th, 2008 @ 08:58 AM
First patch doesn't applies now. 11 days brings to much changes for it. But it's useless after Postmodern's c4ca5918.
Last patch successfully applies to fresh dm-core as i can see.
-
Dan Kubb (dkubb) December 4th, 2008 @ 04:23 AM
- Assigned user cleared.
- Tag set to dm-core, patch, spec, sqlite3
- State changed from hold to unconfirmed
-
Dan Kubb (dkubb) December 15th, 2008 @ 09:32 PM
- State changed from unconfirmed to resolved
I just tested this and a Hash works fine for setting up an in-memory SQLite3 connection.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »