What do you see in your console when this 500 error arises? What is the exact error that you see? There’s nothing standing out in the code you’ve posted, but I’m guessing that something is missing when you try to render ‘new’, maybe the path to the partial is not being resolved, maybe the request is coming in via JS and you don’t have a new.js.erb template in the lookup path…?