A pdf generator using rails gem