ActiveRecord::RecordNotFound in ResourcesController#load_media_modal

Couldn't find MediaFile with 'id'=90068

Extracted source (around line #1046):
1044
1045
1046
1047
1048
1049
              
#
def load_media_modal
f = MediaFile.find(params[:media_id])
r = Resource.find(params[:resource_id])
params.permit(:target_div, :media_id, :resource_title, :media_files, :editable, :resource_id)
target_div = '#media_editor_modal'

Rails.root: /home/exchangeumma/public_html

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"media_id"=>"90068", "resource_id"=>"27824", "id"=>"90068"}

Response

Headers:

None