# Rails & .ejs.erb

**URL:** <https://www.ruby-forum.com/t/rails-ejs-erb/175556>\
**Category:** Rails\
**Created:** [September 15, 2009, 3:45pm UTC](https://www.ruby-forum.com/t/rails-ejs-erb/175556 "2009-09-15T15:45:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bbnnt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/df788c/32.png) [@bbnnt](https://www.ruby-forum.com/u/bbnnt)\
**Post date:** [September 15, 2009, 3:45pm UTC](https://www.ruby-forum.com/t/rails-ejs-erb/175556/1 "2009-09-15T15:45:39Z")

</div>

I have some trouble using this type of tools, the format.js from to the  
controllers to the {action}.js.erb in the view filesâ€¦  
Trying to put some onubtrusiveness int my developpmentâ€¦  
Everything’s working smoothlyâ€¦ except that at some point, navigating  
from page to page through those javascript setup, the application seems  
to get crazy in the inside, looping the same action, again and again =  
the javascript actions are loaded many times, can see through the  
console tooâ€¦ and finally stops, rendering as it was supposed to  
initially.

I dont’ really get where the problem is, anyone here went through the  
same kind of problem ?
