Rails autoloading fully capitalized name like API
There's a file called config/initializers/inflections.rb
.
Add in it
ActiveSupport::Inflector.inflections do |inflect| inflect.acronym 'API' end
and the API namespace will be available as a directory called api