ActiveSupport поддерживает JSON.Вы можете увидеть здесь:
ruby-1.9.2-p136 :003 > j = ActiveSupport::JSON
=> ActiveSupport::JSON
ruby-1.9.2-p136 :004 > j.encode({:team => "Celtics", :players => "20"})
=> "{\"team\":\"Celtics\",\"players\":\"20\"}"
ruby-1.9.2-p136 :005 > j.decode("{\"team\":\"Celtics\",\"players\":\"20\"}")
=> {"team"=>"Celtics", "players"=>"20"}
Так что для вас это будет:
new IS.Presentation(<%= ActiveSupport::JSON.encode(raw(@course_step.step.step_presentation.step_presentation_files.map { |item| {'url' => item.slide.url, 'title' => item.title}})) %>)