[Nitro] [OG] enchant Question: klass.table or klass::OGTABLE

Mark Van De Vyver mvyver at gmail.com
Wed Nov 7 03:00:32 EST 2007

Hi Devs,
This may be a dumb question, but which of the following is the correct
way to access the table name of an Og managed class:
 a) klass.table
 b) klass::OGTABLE

In fact just what does the following comment in
sql.rb:SqlStore#enchant mean/relate to?

      # FIXME: jl: Remove references to table, then remove these 5 lines

It makes me think the above choice it's been resolved to use
klass::OGTABLE, _but_  _only_ in Og's code. Correct?
So internal use of klass.table is deprecated but the table attribute
remains for user code.  Correct?


More information about the Nitro-general mailing list