Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade data attributes to turbo syntax #109 #112

Merged
merged 1 commit into from
Dec 8, 2022
Merged

Upgrade data attributes to turbo syntax #109 #112

merged 1 commit into from
Dec 8, 2022

Conversation

oneiros
Copy link
Collaborator

@oneiros oneiros commented Dec 8, 2022

As opposed to the old jquery-rails style.

It looks like I did not include jquery-rails into the javascript bundle after upgrading to Rails 7. This resulted in the user deletion button not working.

The missing functionality has since been integrated into the turbo library, so jquery-rails is not strictly needed anymore. I upgraded the syntax to work with turbo.

Fixes #109.

(We should probably also remove the jquery-rails gem from Gemfile, but I would like to wait until after #106 has been merged, to avoid merge conflicts.)

As opposed to the old jquery-rails style.
@tuxmea tuxmea merged commit 28a8209 into main Dec 8, 2022
@tuxmea tuxmea deleted the issue-109 branch December 8, 2022 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User deletion does open the edit page
2 participants