You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use rails-ujs instead of jquery_ujs and try to remove nested fields by remove_nested_fields_link, I get the following error: TypeError: $.rails.allowAction is not a function
The text was updated successfully, but these errors were encountered:
Add gem 'jquery-rails' in your Gemfile.
In your application.js remove //= require rails-ujs and add //= require jquery_ujs. This worked for me in rails 5.2.2
When I use rails-ujs instead of jquery_ujs and try to remove nested fields by remove_nested_fields_link, I get the following error:
TypeError: $.rails.allowAction is not a function
The text was updated successfully, but these errors were encountered: