Hi:

How do I embed Ruby code in Haml? I am passing an array via a get
request. The array can be displayed using
%p #{@ary}

However, if I try..

for x in 0...#{@ary.length}
print #{@ary.at(x)}
end

I get an error, undefined variable x. What is going on?

cz