From: "Stéphane Wirtel" Date: 2007-10-22T01:10:01+09:00 Subject: Re: "with" statement I don't approve this solution, but why can't you use it ? <% %w{parent_id child_id active notes created_at updated_at}.each do | attribute| %> <%= h relationship.send( attribute.to_sym ) %> <% end %> <%h h relationship.link_type.pcln %>