[Nitro] OG clarification: Adapter method source locations

Mark Van De Vyver mvyver at gmail.com
Wed Sep 12 03:05:28 EDT 2007


Hi Devs,

Can anyone elaborate on the following (pedantic/trivial?):

<Vendor>Adpater methods that override methods in
[./og/lib/og/store.rb] or [./og/lib/og/store/sql.rb] or
[./og/lib/og/store/sql/*.rb] should be placed in:
[./og/lib/og/adapter/<Vendor>/override.rb]

<Vendor>Adpater methods that provide adapter specific utility methods
(i.e. do not appear in any of the above) should go in:
[./og/lib/og/adapter/<Vendor>/utils.rb]

Consequently the bulk of the implementation will appear in the override.rb file?

The file [./og/lib/og/adapter/<Vendor>.rb] will in-fact contain very
little, possibly as little as some requires and initialize....

mv


More information about the Nitro-general mailing list