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
Currently, the default has been to dasherize the namespaced model. For example Admin::User to admin-user. This is bad because the default and standard behavior for camel casing and dasherizing models was from a structure that looks like MyCamelCase to my-camel-case.
So if you read the namespaced model admin-user, from the looks of it, you are expecting AdminUser but in reality, is just a namespace. It would be better written admin--user by default.
The text was updated successfully, but these errors were encountered:
Currently, the default has been to dasherize the namespaced model. For example
Admin::User
toadmin-user
. This is bad because the default and standard behavior for camel casing and dasherizing models was from a structure that looks likeMyCamelCase
tomy-camel-case
.So if you read the namespaced model
admin-user
, from the looks of it, you are expectingAdminUser
but in reality, is just a namespace. It would be better writtenadmin--user
by default.The text was updated successfully, but these errors were encountered: