I am trying to update a devise record via a link in my view.
This is what I've have:
= link_to "Update", user_registration_path(current_user, user: {abc: true}), method: :put, remote: true
I get the following issue:
private method `to_param' called for #
How am I able to update this record remotely?