[Nitro] litte patch to og/relation.rb

jfwittmann neokolor at gmx.de
Sun Jun 18 09:30:27 EDT 2006


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

cu, Felix

-------------- next part --------------
A non-text attachment was scrubbed...
Name: relation_rb.zip
Type: application/x-zip-compressed
Size: 3246 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20060618/5a5aaaf9/attachment.bin 


More information about the Nitro-general mailing list