Grape and ActiveModel serializers serve different purposes. Grape acts as a controller and router, and allows you to define the API for your application. In the Rails routes.rb file, you include a statement like this to pass routing to Grape:
mount API::Base, at: '/'
Then you create classes that inherit from Grape to define your API:
module API
module V1
class Companies < Grape::API
This is actually a gem that allows Grape to use Serializers ActiveModel:
http://github.com/jrhe/grape-active_model_serializers
Grape, Rails. Grape , API. , Grape , , . , id , . . .
ActiveModel . . , , , (, ) . , , json. , . Serializer ActiveModel .