Re: [Rails] Rails 6. SyntaxError: missing ) in parenthetical (UJS)

2019-08-26 Thread Ariel Juodziukynas
Can you show the generated response of the request? try using the escape_javascript on the second render too ("j render", the "j" at the beginning). El lun., 26 ago. 2019 a las 9:38, Nikola Okonesh () escribió: > I use pagination ajax (kaminari and pagy gem), click more page not work. > how i

[Rails] Rails 6. SyntaxError: missing ) in parenthetical (UJS)

2019-08-26 Thread Nikola Okonesh
I use pagination ajax (kaminari and pagy gem), click more page not work. how it [image: Снимок экрана_2019-08-25_23-54-07.png] var colum = document.querySelector("#categories_index"); var pagin = document.querySelector("#categories_index_paginate"); colum.innerHTML += ("<%= j render(pa