500 Error when opening a commit
Created by: pnull
Started GET "/blablubb/blablubb-ios/commit/f335cfa0779e8a18336ea62ee8bbc2e362ba5627" for 127.0.0.1 at 2013-01-18 15:27:36 +0100
Processing by CommitController#show as HTML
Parameters: {"project_id"=>"blablubb/blablubb-ios", "id"=>"f335cfa0779e8a18336ea62ee8bbc2e362ba5627"}
Rendered commits/_commit_box.html.haml (3.2ms)
Rendered commits/_diff_head.html.haml (0.3ms)
Rendered notes/_per_line_note_link.html.haml (0.2ms)
Rendered notes/_per_line_note_link.html.haml (0.1ms)
[...]
Rendered notes/_per_line_note_link.html.haml (0.1ms)
Rendered notes/_per_line_note_link.html.haml (0.1ms)
Rendered commits/_text_file.html.haml (106.9ms)
Rendered commits/_text_file.html.haml (3.0ms)
Rendered commits/_diffs.html.haml (307.2ms)
Rendered commit/show.html.haml within layouts/project_resource (740.1ms)
Completed 500 Internal Server Error in 1240ms
ActionView::Template::Error (invalid byte sequence in UTF-8):
3: %a.supp_diff_link Diff suppressed. Click to show
4:
5: %table{class: "#{'hide' if too_big}"}
6: - each_diff_line(diff.diff.lines.to_a, index) do |line, type, line_code, line_new, line_old|
7: %tr.line_holder{ id: line_code }
8: - if type == "match"
9: %td.old_line= "..."
app/helpers/commits_helper.rb:23:in `match'
app/helpers/commits_helper.rb:23:in `match'
app/helpers/commits_helper.rb:23:in `block in each_diff_line'
app/helpers/commits_helper.rb:22:in `each'
app/helpers/commits_helper.rb:22:in `each_diff_line'
app/views/commits/_text_file.html.haml:6:in `_app_views_commits__text_file_html_haml__1184756099852157461_59970320'
app/views/commits/_diffs.html.haml:44:in `block in _app_views_commits__diffs_html_haml__4204875359300587054_65050660'
app/views/commits/_diffs.html.haml:16:in `each'
app/views/commits/_diffs.html.haml:16:in `each_with_index'
app/views/commits/_diffs.html.haml:16:in `_app_views_commits__diffs_html_haml__4204875359300587054_65050660'
app/views/commit/show.html.haml:2:in `_app_views_commit_show_html_haml__1428971560791753490_69059940'