Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails debug

logger.debug "Person attributes hash: #{@person.attributes.inspect}"
logger.info "Processing the request..."
logger.fatal "Terminating application, raised unrecoverable error!!!"
Source by guides.rubyonrails.org #
 
PREVIOUS NEXT
Tagged: #rails #debug
ADD COMMENT
Topic
Name
7+7 =