How to print JavaScript code in my view?
===

<p>I need to supply my users with js code, so I have text area:

      <%=  text_area_tag 'body',  "//<script>...</script>"%>

I can't make it working. I know how to do it with variables from controllers : 

          @payKey = @xml["payKey"].to_s()
          "#{@payKey}"

So what would be better way to solve this trouble ?