undefined method `title' for #<Commit:...>

Created by: justfalter

I noticed this in my production logs. It appears that app/views/commit/_commit.html.haml is referring to Commit#title, which does not exist.

Started GET "/test-proj/merge_requests/branch_to?ref=develop" for 127.0.0.1 at 2012-10-19 13:56:20 -0500
Processing by MergeRequestsController#branch_to as */*
  Parameters: {"ref"=>"develop", "project_id"=>"test-proj"}
  Rendered commits/_commit.html.haml (7.2ms)
  Rendered merge_requests/branch_to.js.haml (8.6ms)
Completed 500 Internal Server Error in 55ms

ActionView::Template::Error (undefined method `title' for #<Commit:0x00000006eee138>):
    7:     %strong.cgray= commit.author_name
    8:     &ndash;
    9:     = image_tag gravatar_icon(commit.author_email), class: "avatar", width: 16
    10:     = link_to_gfm truncate(commit.title, length: 50), project_commit_path(@project, id: commit.id), class: "row_title"
    11: 
    12:     %span.committed_ago
    13:       = time_ago_in_words(commit.committed_date)
  app/views/commits/_commit.html.haml:10:in `_app_views_commits__commit_html_haml__1352791362005320401_54278200'
  app/views/merge_requests/branch_to.js.haml:2:in `_app_views_merge_requests_branch_to_js_haml___362758176832554597_58143500'