[Nitro] OG [PATCH 1/4]: Default Og manager options - resolve inconsistent setup of defaults.

Mark Van De Vyver mvyver at gmail.com
Thu Sep 6 02:19:22 EDT 2007

Hi Devs,
While trying to work out where and how OG sets options for an adapter
I discovered that you got inconsistent default options with the
following cases:
Og.start( {} )

Part of the reason was that defaults for sqlite were being set in
different places.
I've tested this patch with the dbi adapter specs that will follow.

I've not changed the default manager_options to use the dbi/sqlite
adapter/driver but I am testing with both, so have the dbi/sqlite
settings present but commented out in ./lib/og.rb


Changes to the Og manager default options:
 - default sqlite database name is memory (was data).
 - default manager options are set in Module Og.
 - default options used if none (including {}) given.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mvdv-20070906-1-of-x.patch.tar.gz
Type: application/x-gzip
Size: 16970 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20070906/a6ccc1c9/attachment-0001.gz 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mvdv-20070906-1-of-x.patch
Type: text/x-patch
Size: 61813 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20070906/a6ccc1c9/attachment-0001.bin 

More information about the Nitro-general mailing list