Rails not liking api folder

Has anyone had trouble with their controller for an AWS webservice not
being
able to see the api class when it is in the api folder? I used the
‘script/generate web_service’ to make a webservice and api and the only
way
it works is to move my api file into the controller folder and not have
it
in the api folder. Is this normal?

Ben