Pascal has a with statement.  (I'm showing my age).  It would be nice
instead of:

    <td><%= h relationship.parent_id %></td>
    <td><%= h relationship.link_type.pcln %></td>
    <td><%= h relationship.child_id %></td>
    <td><%= h relationship.active %></td>
    <td><%= h relationship.notes %></td>
    <td><%= h relationship.created_at %></td>
    <td><%= h relationship.updated_at %></td>

I could do:

    with(relationship) {
      <td><%= h parent_id %></td>
      <td><%= h link_type.pcln %></td>
      <td><%= h child_id %></td>
      <td><%= h active %></td>
      <td><%= h notes %></td>
      <td><%= h created_at %></td>
      <td><%= h updated_at %></td>
    }

I bet there is a clever way to do this -- I just don't know now.
-- 
Posted via http://www.ruby-forum.com/.