Trying to use rails output buffer