[Nitro] litte patch to og/relation.rb

Bryan Soto bryan.a.soto at gmail.com
Tue Jun 20 02:47:06 EDT 2006


On 6/18/06, jfwittmann <neokolor at gmx.de> wrote:
> do a modifications to symbol_to_class method in relation.rb to handle
> following entity classes
>
> module Gallery::Models
>   class Image
>     has_one :image_detail
>   end
>
>   class ImageDetail
>     belongs_to :image
>   end
> end
>

Would it be possible for you to supply a testcase to go with this? I
had a go with the example you gave, but had no luck making it work.

Thanks,

Bryan



More information about the Nitro-general mailing list