mikker / passwordless

🗝 Authentication for your Rails app without the icky-ness of passwords
MIT License
1.26k stars 85 forks source link

Use `tableize` instead of `downcase` #157

Closed henrikbjorn closed 1 year ago

henrikbjorn commented 1 year ago

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 commented 1 year ago

Great! Thank you for this