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

Uncomment inflections #16

Open
kaka-ruto opened this issue Jul 24, 2018 · 0 comments
Open

Uncomment inflections #16

kaka-ruto opened this issue Jul 24, 2018 · 0 comments

Comments

@kaka-ruto
Copy link

kaka-ruto commented Jul 24, 2018

The gem uses uppercased module names a lot. Especially the API one. This is very confusing as it will throw several uninitialised constant ... errors. Since the Rails instruction will be looking for ::Api:: and not ::API::.

Since we have uppercased module names, I think it would help to turn the inflection setting on(is it possible?) or indicate so on the readme.

ActiveSupport::Inflector.inflections do |inflect|
  inflect.acronym 'API'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant