ActionView::Template::Error (undefined method `[]' for nil:NilClass) on Commit View
Created by: saschagrunert
Hi there, GitLab 5.0 works fine, but if i try to view my commits i get the following error:
ActionView::Template::Error (undefined method []' for nil:NilClass): 2: 3: %p.pull-right.cgray 4: This commit has 5: %span.cgreen #{@commit.stats.additions} additions 6: and 7: %span.cred #{@commit.stats.deletions} deletions 8: app/models/commit.rb:13:in
stats'
app/views/commit/show.html.haml:5:in `_app_views_commit_show_html_haml___2602992876537253354_17289544120'
Started GET "/static.css" for 217.235.67.234 at 2013-03-21 20:06:42 +0100 Processing by ProjectsController#show as HTML Parameters: {"id"=>"static.css"} Rendered public/404.html (0.4ms) Filter chain halted as :project rendered or redirected Completed 404 Not Found in 29ms (Views: 25.2ms | ActiveRecord: 0.7ms)
Any ideas? =) Thank you! Great work.