You can use the raw
parameter, e.g.
ap my_model, raw: true
This recursively formats instance variables. You can also make it the default using AwesomePrint.defaults
(Documentation)
But beware: That feature can add a large amount of noise, especially when printing Rails related object instances. (especially ActiveRecord::Base
)