Remove asset pipeline and added active_model_serializers in rails