Error 500 to use SSH Keys after upgrading 5.4 to 6.0
Created by: lirobot
Followed the 5.4-to-6.0.md, upgraded from 5.4 to 6.0.
The app run ok everthing but when I want click SSH Keys ,I get an error 500.。
The production.log show
Started GET "/profile/keys" for 127.0.0.1 at 2013-08-27 16:03:46 +0800
Processing by Profiles::KeysController#index as HTML
Rendered profiles/keys/_key.html.haml (5.0ms)
Rendered profiles/keys/index.html.haml within layouts/profile (11.6ms)
Completed 500 Internal Server Error in 160ms
ActionView::Template::Error (undefined method `fingerprint' for #<Key:0x007f8eb07b3c70>):
2: = link_to profile_key_path(key) do
3: %strong= key.title
4: %span
5: (#{key.fingerprint})
6: %span.cgray
7: added
8: = time_ago_in_words(key.created_at)
app/views/profiles/keys/_key.html.haml:5:in `_app_views_profiles_keys__key_html_haml___4024179867885560681_70125369186020'
app/views/profiles/keys/index.html.haml:17:in `_app_views_profiles_keys_index_html_haml__3826984651455600657_70125368807200'
And when I run: sudo -u git -H bundle exec rake migrate_keys RAILS_ENV=production
I also get
rake aborted!
undefined method `fingerprint=' for #<Key:0x007f1a2231dcb8>
Looking forward to your reply。