如何为activeadmin资源生成日志?

时间:2019-02-05 06:28:57

标签: ruby-on-rails-4 logging activeadmin

logging.rb

hash_1 = {
  a: {
    category_1: {
      length: a["category_1"].length, 
      amount: category_1_a_total,
      speed: category_1_a_speed
    },
    category_2: {
      length: a["category_2"].length, 
      amount: category_2_a_total,
      speed: category_2_a_speed
    }
  },
  # ~ 10 more hashes to follow b..i
 }

我想seperatley分别生成activeadmin资源吗?

0 个答案:

没有答案