removed asset pipeline and added active_model_serializers in Rails