Remove dependency on jQuery
As of Rails 5.1, jQuery is no longer needed and Rails UJS is available without any dependencies. It would be great to drop the jQuery dependency and just use plain JS.
Yeah, I would like that too. Pull requests welcome. :)
Getting below error, can i get a quick solution for this $.rails.allowAction is not a function
I am using rails-ujs instead of jquery_ujs
@srikanthcx A quick hack would be to define $.rails.allowAction somewhere and make it return true. It was added in this commit to support confirm dialogues when removing nested fields: https://github.com/ncri/nested_form_fields/commit/3764936543e5601422dab97a81a8e616507848d0