removed rails asset pipeline and added serializer