Ascii handler for rails