In my app I\'ve got ApiController < ActionController::API which has a lot of useful methods therefore all other controllers inherit from ApiController
ApiController < ActionController::API
ApiController