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

Use tableize instead of downcase #157

Merged
merged 1 commit into from
Aug 13, 2023
Merged

Conversation

henrikbjorn
Copy link
Contributor

In the case of using Passwordless with ActiveAdmin I came across this use. AdminUser will be downcased to adminuser and then pluralized to adminusers. Instead it should be admin_users. This is that tableize does and in a single method call. So no need to pluralize afterwards

@mikker
Copy link
Owner

mikker commented Aug 11, 2023

Great! Thank you for this

@mikker mikker merged commit 6dddc11 into mikker:master Aug 13, 2023
3 checks passed
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.

None yet

2 participants