Ruby on rails

Hi,

I have a view page where I have list of images and when the image is
clicked it should go to the corresponding listing view page of images of
that particular id.

<a href="/spaces/show/<%= attr[:id] %>"><%=
image_tag(attr[:url],:height=>'331px',:width=>'608px;') %></a>

Is this correct?? I am not posting the complete code. But I am getting
the id in the view page. So only thing i need to do is to link the url
to that image listing. Please help.

···

--
Posted via http://www.ruby-forum.com/.

ruby on rails != ruby

···

--
Posted via http://www.ruby-forum.com/.