Dump fuseactionRecord.getSite() and see what you get. Does it dump anything?
João Fernandes -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Roche Sent: quarta-feira, 23 de Agosto de 2006 15:07 To: [email protected] Subject: [Reactor for CF] Relationships - Is this a known bug? I have an object defined with two relationships: <object name="Fuseaction"> <hasMany name="Tag"> <relate from="Fuseaction_Id" to="Fusaction" /> </hasMany> <hasOne name="Site"> <relate from="Site_Id" to="SiteId" /> </hasOne> </object> The documentation says that this should create a method in the record object called "getSite()" that will get a Site record for me. But it seems not. Maybe I have the relationship backwards but I have tried both ways around with to and from. Can anyone give me clue as to what I am doing wrong? Kevin Roche -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
