I'm using a controller to show a page that loads a 3D model in javascript. The problem I seem to be running into is that when I try to have javascript load the 3D model file ruby on rails instead tries to interpret it instead, using the name of the file as an ID.

the controller

```
def show
    @design = Design.find(params[:id])
end

```

The error log

> 
> Started GET "/designs/slotted\_disk" for 127.0.0.1 at 2014-06-12 20:11:30 -0700 Processing by DesignsController#show as /
> 
> 
> Parameters: {"id"=>"slotted\_disk"}
> 
> 
> User Load (0.2ms) SELECT "users".\* FROM "users" WHERE "users"."remember\_token" = '...' LIMIT 1
> 
> 
> Design Load (0.1ms) SELECT "designs".\* FROM "designs" WHERE "designs"."id" = ? ORDER BY created\_at DESC LIMIT 1 [["id", "slotted\_disk"]]
> 
> 
> Completed 404 Not Found in 3ms
> 
> 
> ActiveRecord::RecordNotFound (Couldn't find Design with id=slotted\_disk): app/controllers/designs\_controller.rb:19:in `show'
> 
> 
>