You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After deleting a user who has saved searches I end up with an "oops" when trying to view saved searches:
Started GET "/saved/searches" for 134.130.X.Y at 2015-06-24 15:23:54 +0200
Processing by SavedSearchesController#index as HTML
Rendered saved_searches/_saved_search.html.erb (5.8ms)
Rendered saved_searches/index.html.erb within layouts/application (10.2ms)
Completed 500 Internal Server Error in 29ms
After deleting a user who has saved searches I end up with an "oops" when trying to view saved searches:
Started GET "/saved/searches" for 134.130.X.Y at 2015-06-24 15:23:54 +0200
Processing by SavedSearchesController#index as HTML
Rendered saved_searches/_saved_search.html.erb (5.8ms)
Rendered saved_searches/index.html.erb within layouts/application (10.2ms)
Completed 500 Internal Server Error in 29ms
ActionView::Template::Error (undefined method
id' for nil:NilClass): 1: <% can_edit = (current_user.id == saved_search.user.id) %> 2: <tr data-id="<%= saved_search.id %>"> 3: 4: <% if can_edit %> app/views/saved_searches/_saved_search.html.erb:1:in
_app_views_saved_searches__saved_search_html_erb__2937626048927797939_52591920'app/views/saved_searches/index.html.erb:21:in `_app_views_saved_searches_index_html_erb__2484555833295938071_52488860'
The text was updated successfully, but these errors were encountered: