You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have code that uses ap with some default options to print data. At times i'd like to pre-format some data and pass it in. However passing in object.ai(options) results in the string being encoded twice. I'd like to be able to set some sort of "raw" option or to have ai return a wrapped object that should be displayed as is.
The text was updated successfully, but these errors were encountered:
I don't know @pathsny 's specific requirement, but a raw mode would be useful on Rails #to_sql command. With AmazingPrint, you receive an ASCII-encoded string "SELECT \"users\".* FROM \"users\"" with all the backspace noise, however puts provides the clean string SELECT "users".* FROM "users", which is much easier to read.
I have code that uses ap with some default options to print data. At times i'd like to pre-format some data and pass it in. However passing in object.ai(options) results in the string being encoded twice. I'd like to be able to set some sort of "raw" option or to have ai return a wrapped object that should be displayed as is.
The text was updated successfully, but these errors were encountered: