anchor.diff:  	          <% end %>
   	          <td><ul>
   	            <% if not transaction.settlement %>
  -	              <li><a href="javascript:bc.duplicateTransaction(<%= i %>)">Duplicate</a>
  +	              <li><a href="javascript:bc.duplicateTransaction(<%= transaction.to_json %>)">Duplicate</a>
   	            <% end %>
   	            <li><%= form_for transaction, :url => group_transaction_url(@group, transaction), :html => {:style => 'display:inline', :method => :delete} do %>
   	              <a href="javascript:return false" onclick="$(this).closest('form').submit()">Delete</a>
  
positive.code:     var that = this,
          check = row.find('[type="checkbox"]'),
          text = row.find('[type="text"]');
      this.check = check;
      this.text = text;
      this.focusVal = null;
  
negative.code:            res = b.created_at <=> a.created_at if res == 0
             res
           end
           sorted_transactions.each do |transaction| %>
  		<% cache("group::#{@group.id}::transaction::#{transaction.id}") do %>
          	<tr class=t>
  	          <td>
  