Skip to content

Instantly share code, notes, and snippets.

@entp
Created November 6, 2008 19:03
Show Gist options
  • Save entp/22672 to your computer and use it in GitHub Desktop.
Save entp/22672 to your computer and use it in GitHub Desktop.
<% @changes.select(&:diffable?).each do |change| -%>
<% begin -%>
<%= diff_for change %>
<% rescue -%>
?
<% end -%>
<% end -%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment