I have an app that we are using just to serve api calls to another application. However it feels heavy as it is still using the whole of rails, but we don’t use views etc…
How has other people tackled this issue, just remove the files ? All I need left is my modules and the ability to serve.
Would it be better to use Sinatra ?
Check out the relatively new rails-api plugin, which offers a subset of Rails intended for building API services. You can read the release blog post here.
There’s also a Railscasts episode demonstrating its use.