I have the following code:
for attribute in site.device_attributes device.attribute end
where I would like the code to substitute the value o
you can also do
device.instance_eval(attribute)