I am using Ruby on Rails and trying to call a partial named _bmetric
by using render_async
in the index method. This partial has html code and also a highcharts (js). The problem is that the highcharts does not show up. However, if I use render
instead of rander_async
, there is no problem.
Can someone please tell me what should I consider while using render_async
to call a partial with highcharts?