Removed asset pipeline and added ActiveModel-serializers in rails