[Nitro] Fix to STI has_many relationship for the problem reported by Emmanuel Piperakis

Rob Pitt rob at motionpath.com
Thu Dec 22 07:38:49 EST 2005

Hello G,

I have also started work on a heavy duty automated batch test suite

This patch does not appear to introduce any problems into the other
stores (and I cannot see why it would).

It means when using STI you no longer have to provide a :foreign_name

This problem was reported as an issue with PostgreSQL constraints
earlier, but this was not the case, any usage with any store of that
relationship would have caused Og to crash, constraints was simply the
first thing that tried to use it :)

I have cc'd this to you Emmanuel Piperakis and also to the list in case
you do not want to wait until this fix is applied to Glycerin.

Thank you for reporting this problem!

- rp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sti-fix.patch.bz2
Type: application/x-bzip
Size: 9330 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20051222/e24b5df0/attachment.bin 

More information about the Nitro-general mailing list