[Nitro] Accessing a database column with two different names

Riku Räisänen riku.raisanen at walkingwoods.com
Wed Oct 25 17:57:11 EDT 2006

It is by design if you try to access it through accessors.

further more, you're trying to compare a serialized ruby object with a 


@myfiles = StorageFile.find do |file|
      file.owner == some_storageuser

btw feeding the .find a block makes it use eZ for building the query. 
I'm not quite sure how it handles ruby objects. You might want to add 
.oid to both, not just one of them.

-Riku Räisänen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: riku.raisanen.vcf
Type: text/x-vcard
Size: 353 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061026/beff17e1/attachment.vcf 

More information about the Nitro-general mailing list