Skip to content

Uncomment inflections #16

@kaka-ruto

Description

@kaka-ruto

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions