[5.0.0 f7ca6c50] "Completed 500 Internal Server Error" when view commit.
Created by: panter-dsd
Started GET "/poisk2/commit/94e58cd5d796ffd7ea1a402dd79bfd95e18beadb" for 127.0.0.1 at 2013-03-22 11:55:14 +0400
Processing by CommitController#show as HTML
Parameters: {"project_id"=>"poisk2", "id"=>"94e58cd5d796ffd7ea1a402dd79bfd95e18beadb"}
Rendered commits/_commit_box.html.haml (7.7ms)
Rendered commits/_diff_head.html.haml (0.3ms)
Rendered commits/_diffs.html.haml (8.3ms)
Rendered commit/show.html.haml within layouts/project_resource (53.6ms)
Completed 500 Internal Server Error in 156ms
ActionView::Template::Error (could not find any magic files!):
40: .content
41: -# Skipp all non non-supported blobs
42: - next unless file.respond_to?('text?')
43: - if file.text?
44: = render "commits/text_file", diff: diff, index: i
45: - elsif file.image?
46: - old_file = (@commit.prev_commit.tree / diff.old_path) if [email protected]_commit.nil?
app/views/commits/_diffs.html.haml:43:in block in _app_views_commits__diffs_html_haml___1331977209950628186_64257240' app/views/commits/_diffs.html.haml:17:in
each'
app/views/commits/_diffs.html.haml:17:in each_with_index' app/views/commits/_diffs.html.haml:17:in
_app_views_commits__diffs_html_haml___1331977209950628186_64257240'
app/views/commit/show.html.haml:9:in `_app_views_commit_show_html_haml___2578439834533806653_38864860'