|
|
@ -6,14 +6,11 @@ class ScoresController < ApplicationController |
|
|
|
def index |
|
|
|
@scores = Score.all |
|
|
|
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.debug({ one: 1, two: 2 }) |
|
|
|
logger.info 'this is an information', { four: 4, five: 5 } |
|
|
|
logger.debug BigDecimal('0.0003') |
|
|
|
logger.debug 'scores are', @scores |
|
|
|
logger.debug @scores |
|
|
|
# logger.debug 'scores are', @scores |
|
|
|
# logger.debug @scores |
|
|
|
end |
|
|
|
|
|
|
|
# GET /scores/1 |
|
|
|