Displaying 1 result from an estimated 1 matches for "windows_devices".
2011 Aug 16
9
Rails Looping with different attributes
Hi Everyone,
I am trying to solve this problem, but couldn''t able to get the
solution. I hope i will get some help here.
I am using these three find methods to get different types of
devices. I dont have any relationships between any models.
windows_devices = BaseManagedEntity.find(:all,
:select => "b.BaseManagedEntityInternalId, c.NetworkName,
c.IPAddress, s.HealthState, s.LastModified",
:joins => "as b INNER JOIN mt_computer as c ON
c.basemanagedentityid = b.basemanagedentityid
INNER JOIN state as s ON b.basemanaged...