Errno::EISDIR in Archives#index

Showing /apps/digitaltheatrearchive.com/production/releases/20150914175900/app/views/archives/index.html.erb where line #28 raised:

Is a directory @ io_fread - /apps/digitaltheatrearchive.com/production/releases/20150914175900/public/DTA-Assets/Grand Opera House/GO-0084/GO-0343

Extracted source (around line #28):

25:                     <%= 
26:                         @image = Image.find(:first, :conditions => {:identifier => archive.identifier})
27:                         if @image
28:                             raw(image_resize(@image.path, "210X265", ""))
29:                         else
30:                             raw('<img src="/assets/home-highlights/1.jpg" />')
31:                         end

Rails.root: /apps/digitaltheatrearchive.com/production/releases/20150914175900

Application Trace | Framework Trace | Full Trace
app/helpers/application_helper.rb:29:in `image_resize'
app/views/archives/index.html.erb:28:in `block in _app_views_archives_index_html_erb__4079328082869817746_70342796320580'
app/views/archives/index.html.erb:22:in `_app_views_archives_index_html_erb__4079328082869817746_70342796320580'
app/controllers/archives_controller.rb:13:in `index'

Request

Parameters:

{"filter"=>"17",
 "page"=>"7"}

Show session dump

Show env dump

Response

Headers:

None