<script type="text/javascript> inside partial not being rendered


I use a “link_to_remote” inside my view to call an action and update a
In the action, inside my controller, I use a “render :partial =>
‘partial_name’” to fill the div with content.

Inside that partial there is a lot of text and ruby things (which works)
a <script type="text/javascript> block, that is simply not being
Everything before and after that block is rendering just fine, but the
script tag and everything inside is not showing up in my view!

Am I doing something wrong?


Nevermind. It was being rendered normally :stuck_out_tongue:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs