Jonathan Rochkind

Results 639 comments of Jonathan Rochkind

Rails 6 will not by default support sprockets asset pipeline for JS (although there may be a way to hack it in). I don't wanna stop using cocoon! I also...

Do you see the GH package registry making things easier or simpler, @sikandartariq1 ? I don't understand it much (or ordinary npm registry really), and am curious what you see...

OK thanks, I'm new to this stuff and looking into it, but I think you still need to use the `npm` command line to [do a release](https://github.com/features/package-registry), after telling it...

It's really unclear to me what Rails 7.0.0 means for wanting to use cocoon, what the options are. Webpacker is out... but so is sprockets? Any advice welcome. And any...

@nathanvda Ah, I didn't see/realize you had released an npm package and listed it in the README, thank you! The non-JQuery alternatives are interesting. Would you consider taking a non-JQuery...

@danbernier I don't remember the details, but I did get cocoon working for my use cases in [attr_json](https://github.com/jrochkind/attr_json). Basically, every time I ran into cocoon assuming a certain method was...

Since cocoon works fine, I have found, if you just return `nil` or `false` from those methods, it would be easy to PR cocoon to check `respond_to?` before calling them,...

Ah found this. I don't think you need to refactor the JS _at all_, I think you should be able to publish as an npm package with the JS just...

Rails 6.0 is out, and with a newly generated Rails 6.0 app, there is no way by default to use JS from a gem via the sprockets asset pipeline. (There...

oh wow I had no idea you could add packages in yarn from github! not as good as an actual release, but especially with cocoon being very very stable, that...