[Nitro] [patch] lib/og/relations/refers_to.rb

zimba-tm zimba.tm at gmail.com
Tue Nov 22 17:19:01 EST 2005


For :Og 0.25.0
Symptom :

if some classe is not defined in your model while reffering to from
another, nitro throws an uninformative error. So you have to look at
your whole model guessing where that could have happened.

Example :

class Person
  has_one :name_your_class
end

Solution :

Give the atrribute and the class where the class was missing


--
Cheers,
  zimba

http://zimba.oree.ch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: refers_to.patch
Type: application/octet-stream
Size: 414 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20051122/b0016760/attachment.obj 


More information about the Nitro-general mailing list