I think you can make it done by jQuery or Prototype with CSS Selector:
<tr class="clickable" rel="<%= my_route_path %>"><td>content</td></tr>
<script> (function($){ $('tr.clickable').click(function(){ // You can use .live('click', function(){}) if you use jQuery 1.3.1 or higher // Link to ... }); })(jQuery); </script>