missing required keys: [:id]
Created by: Meatballs1
Hi All,
I'm getting a 500 error when I try to browse to my user page /u/meatballs:
I recently upgraded from 5.0 - -> 5.1 -> 6.0 -> 6.8 -> 6.92
ActionView::Template::Error (No route matches {:action=>"show", :controller=>"projects/merge_requests", :format=>nil, :id=>#<MergeRequest id: 1, target_branch: "master", source_branch: "sap_non_core", source_project_id: 5, author_id: 6, assignee_id: 6, title: "SAP Modules Update", created_at: "2014-05-19 10:29:54", updated_at: "2014-06-09 16:11:31", milestone_id: nil, state: "closed", merge_status: "unchecked", target_project_id: 5, iid: nil, description: nil>, :project_id=>#<Project id: 5, name: "metasploit-framework", path: "metasploit-framework", description: "", created_at: "2014-05-02 10:35:59", updated_at: "2014-06-09 16:26:19", creator_id: 6, issues_enabled: true, wall_enabled: false, merge_requests_enabled: true, wiki_enabled: true, namespace_id: 10, issues_tracker: "gitlab", issues_tracker_id: nil, snippets_enabled: false, last_activity_at: nil, import_url: nil, visibility_level: 20, archived: false, import_status: "none", repository_size: 468.6>, :username=>"meatballs"} missing required keys: [:id]):
2: %span.author_name= link_to_author event
3: %span.event_label{class: event.action_name}= event_action_name(event)
4: - if event.target
5: %strong= link_to "##{event.target_iid}", [event.project, event.target]
6: - else
7: %strong= gfm event.target_title
8: at
app/views/events/event/_common.html.haml:5:in `_app_views_events_event__common_html_haml___1637486447980090173_70077745743300'
app/views/events/_event.html.haml:14:in `block in _app_views_events__event_html_haml__53940329096965881_70077744649160'
app/views/events/_event.html.haml:6:in `_app_views_events__event_html_haml__53940329096965881_70077744649160'
app/views/users/show.html.haml:20:in `_app_views_users_show_html_haml___286177511072134558_70077743070660'
app/controllers/application_controller.rb:59:in `set_current_user_for_thread'