[Rails] error using will_paginate with mailboxer

2019-12-23 Thread fugee ohu
I removed the box param from conversations because I'm trying to show conversations in a chat type view meaning not have inbox, sent, trash available for the user So I get the error " undefined method `paginate' for #https://groups.google.com/d/msgid/rubyonrails-talk/02af6439-3d28-480f-a448-78408

Re: [Rails] rails 6 where to put javascript files

2019-12-23 Thread Ariel Juodziukynas
If you have a file inside /packs called application.js that has a line "import Something from '../some_js'", webpacker will include the code from "some_js.js" inside the resulting bundle "application.js". El lun., 23 dic. 2019 a las 12:10, fugee ohu () escribió: > > > On Sunday, December 22, 2019

Re: [Rails] rails 6 where to put javascript files

2019-12-23 Thread fugee ohu
On Sunday, December 22, 2019 at 6:10:58 PM UTC-5, Ariel Juodziukynas wrote: > > There's a section specifying where to put js files on the documentation > https://github.com/rails/webpacker#paths. You can put the files anywhere, > if you put them inside the packs folder webpacker will create bun