|
|
@ -5,15 +5,14 @@ class ScoresController < ApplicationController |
|
|
|
# GET /scores |
|
|
|
def index |
|
|
|
@scores = Score.all |
|
|
|
# logger.debug 'this is a debug message' |
|
|
|
logger.info(' ' + '*' * 200) |
|
|
|
logger.debug 'this is a debug message' |
|
|
|
logger.debug({ 'one': 1, 'two': 2 }) |
|
|
|
logger.info 'this is an information', { 'four': 4, 'five': 5 } |
|
|
|
# logger.info 'this is an object', BigDecimal('0.0001') |
|
|
|
# logger.warn 'this is a warning' |
|
|
|
# logger.error 'this is an error', BigDecimal('0.0002') |
|
|
|
# logger.fatal 'FATAL' |
|
|
|
# logger.debug 'score are', @scores |
|
|
|
logger.info 'this is an object', BigDecimal('0.0001') |
|
|
|
logger.warn 'this is a warning' |
|
|
|
logger.error 'this is an error', BigDecimal('0.0002') |
|
|
|
logger.fatal 'FATAL' |
|
|
|
logger.debug 'scores are', @scores |
|
|
|
end |
|
|
|
|
|
|
|
# GET /scores/1 |
|
|
|