Erro 500 after upgrade from 4.0 -> 4.1
Created by: rzamana
Just got error 500 after upgrading.
Here is the log from error.log from APACHE2:
ActionView::Template::Error (missing attribute: code):
5: :javascript
6: $(function(){
7: $("#search").autocomplete({
8: source: #{raw search_autocomplete_source},
9: select: function(event, ui) { location.href = ui.item.url }
10: });
11: });
app/models/project.rb:137:in `to_param'
app/helpers/application_helper.rb:78:in `block in search_autocomplete_source'
app/helpers/application_helper.rb:78:in `search_autocomplete_source'
app/views/layouts/_search.html.haml:8:in `_app_views_layouts__search_html_haml___1648281176480883053_23101620'
app/views/layouts/_head_panel.html.haml:23:in `_app_views_layouts__head_panel_html_haml__2709061078428992227_29874940'
app/views/layouts/application.html.haml:6:in `_app_views_layouts_application_html_haml___1541447903048185123_24228300'
app/controllers/dashboard_controller.rb:17:in `index'