[Nitro] on_load in og ?

Bryan Soto bryan.a.soto at gmail.com
Wed Jan 25 18:06:00 EST 2006


On 1/25/06, Jonas Pfenniger <zimba.tm at gmail.com> wrote:
>
> Hi list,
>
> does somebody know if Og calls a particular method when and object is
> loaded form the database ?
>
>
Perhaps og_read is what you're looking for?

 From og/lib/og/store/sql.rb

  # Compile the og_read method for the class. This method is
  # used to read (deserialize) the  given class from the store.
  # In order to allow for changing field/attribute orders a
  # field mapping hash is used.

bryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20060125/b0f43684/attachment.html 


More information about the Nitro-general mailing list