[Rails] Re: js-cookie

2020-01-10 Thread fugee ohu
On Saturday, January 11, 2020 at 1:48:31 AM UTC-5, fugee ohu wrote: > > I installed js-cookie using `yard add js-cookie and put this line in > application.js > require("js-cookie") > but when I use this code in my channel: > console.log(Cookies.get('current_user_id')) > I get the error

[Rails] Re: js-cookie

2020-01-10 Thread fugee ohu
On Saturday, January 11, 2020 at 1:48:31 AM UTC-5, fugee ohu wrote: > > I installed js-cookie using `yard add js-cookie and put this line in > application.js > require("js-cookie") > but when I use this code in my channel: > console.log(Cookies.get('current_user_id')) > I get the error