have error 500 in GET "/projects/new"
Created by: jiangzhongbo
log in production.log file
Started GET "/projects/new" for 127.0.0.1 at 2013-09-27 12:14:42 +0800 Processing by ProjectsController#new as HTML Rendered projects/_errors.html.haml (0.1ms) Rendered projects/new.html.haml within layouts/navless (12.8ms) Rendered layouts/_head.html.haml (0.8ms) Rendered layouts/_search.html.haml (10.3ms) Rendered layouts/_head_panel.html.haml (10.7ms) Completed 500 Internal Server Error in 28ms
ActionView::Template::Error (undefined method path' for nil:NilClass): 7: = hidden_field_tag :search_code, true 8: = hidden_field_tag :repository_ref, @ref 9: = submit_tag 'Go' if ENV['RAILS_ENV'] == 'test' 10: .search-autocomplete-json.hide{:'data-autocomplete-opts' => search_autocomplete_source } app/models/project.rb:170:in
to_param'
app/helpers/application_helper.rb:118:in search_autocomplete_source' app/views/layouts/_search.html.haml:10:in
block in _app_views_layouts__search_html_haml__1027787709367262308_68003120'
app/views/layouts/_search.html.haml:2:in _app_views_layouts__search_html_haml__1027787709367262308_68003120' app/views/layouts/_head_panel.html.haml:17:in
_app_views_layouts__head_panel_html_haml___671217293456559725_39937560'
app/views/layouts/navless.html.haml:5:in `_app_views_layouts_navless_html_haml___4197051594918998135_39056860'