ragged-rigid
ragged-rigid
ragged-rigid
ragged-rigid
Tag » Ruby On Rails « @ www.digitalpains.net

Posts Tagged ‘Ruby On Rails’

Ruby On Rails: Writing something to the log.

Ruby on Rails has build in features for writing to you application log file. You can directly use the logger object for this purpose. Following line when it is executed will print “Hello world” to you log file. logger.info ‘Hello world’ You can use different log levels fatal, error, warn, info, debug . logger.error ‘Hello [...]

Read the rest of this entry »
content