# Missing js.erb template

**URL:** <https://www.ruby-forum.com/t/missing-js-erb-template/153512>\
**Category:** Rails\
**Created:** [November 18, 2008, 8:32am UTC](https://www.ruby-forum.com/t/missing-js-erb-template/153512 "2008-11-18T08:32:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![on9west](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/6f9a4e/32.png) [@on9west](https://www.ruby-forum.com/u/on9west)\
**Post date:** [November 18, 2008, 8:32am UTC](https://www.ruby-forum.com/t/missing-js-erb-template/153512/1 "2008-11-18T08:32:09Z")

</div>

Dear all

I am new to web development, and I am working on some simple ajax  
function and got the following error that may need your expert opinions.

Missing template ecpath\_app\_version/\_\_version\_list.js.erb in view path  
D:/Ruby/test/ssc\_1/app/views

I know there is no js.erb file in app/view/ folder, and I  
don’t know what content should be in the js.erb. Are there any method to  
generate the js.erb file?

Attached is my code for your reference.

Thank for your help in advanced.

Valentino

---

<div class="post-metadata">

**Author:** ![on9west](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/6f9a4e/32.png) [@on9west](https://www.ruby-forum.com/u/on9west)\
**Post date:** [November 18, 2008, 11:08am UTC](https://www.ruby-forum.com/t/missing-js-erb-template/153512/2 "2008-11-18T11:08:18Z")

</div>

Dear all

I found that there is some logical problem in my code. I will review it.  
Please ignore my post.

Thank you.

Valentino
