Dan Arnfield

Results 38 comments of Dan Arnfield

That part of the setup is trying to apply a particular SQL file (`/tmp/matrix-postgres-init-additional-db-user-and-role.sql`) to your database, but the file doesn’t exist. However, the step immediately before that one in...

This is how the `rails-ujs` package handles it: ```json // package.json { "main": "lib/assets/compiled/rails-ujs.js", "files": [ "lib/assets/compiled/*.js" ] } ``` Looks like `files` specifies which files get published to npm,...

In principle it should be, but I didn't bother to .gitignore it myself. The cocoon JS hasn't changed in over a year so it doesn't really matter one way the...

I agree that maintaining the current jquery-style API is nearly impossible, but someone using it in a non-jquery context wouldn't expect to be able to use the same API (for...

I got it working with the default form layout, haven't tested it beyond that yet: https://github.com/thedanbob/cocoon/blob/master/app/assets/javascripts/cocoon.es6.js ```javascript import Cocoon from 'cocoon.es6' document.addEventListener('DOMContentLoaded', function() { if (document.getElementById('attachments')) new Cocoon('#attachments') }) ```...

Thanks! I just committed a bunch of refactoring, if you have a chance to look through it let me know if you see anything broken. I also changed the API...

That's not a ternary conditional but rather a regex non-capturing group with alternation, to match either form of the association. Both are set by the `link_to_add_association` helper at the same...

Good idea, when it comes to regex it never hurts to clarify :) I also switched the order of the two (plural first now) since this gem is probably used...

@pedrofurtado I've updated my links with my new username. But I no longer need a vanilla JS version of cocoon and if I do in the future I'll probably just...

Cool, I hadn’t heard about those projects. I would be interested in having this feature too, I’ll try to find some time to work on it.