[Nitro] [PATCH] schema_inheritance flaw

Michael Fellinger m.fellinger at gmail.com
Tue Jun 27 08:30:18 EDT 2006


make following work:

class Foo
  propert :name, String
  schema_inheritance
end

class FooBar < Foo
end

class BarFoo <Foo
end

Foo.find_by_name('x')

this failed with mysql,sqlite and maybe all other stores except for
psql : so this puts the method responsible in each stores own
responsibility :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bundle
Type: application/octet-stream
Size: 11175 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20060627/7463f640/attachment.obj 


More information about the Nitro-general mailing list