rails g serializer post