i want print value string format.
rails.logger.debug(request)
while trying print getting output as
#<actiondispatch::request:0x45aa2c8>
how can print value string form.
you can .inspect
object output contents, keep in mind object class contains more 1 string. if there specific piece of data after please add question.
rails.logger.debug(request.inspect)
actiondispatch::request documentation - here individual instance methods may contain information you're after.
Comments
Post a Comment