This will cause an exception if there is no List with an id == params[:missing_listing_list_id], e.g. params[:missing_listing_list_id] == "this is not an id". Use find_by_id instead.