• 5.0.0.1版本的

  • 😂 不知道咋实现。。。

  • 哦, 那这种应该怎么显示提示

  • 问个关于 ELK 的问题 at 2017年3月10日

    我搞错啦,这个新的log输出在logstasher.log里的吧

  • 问个关于 ELK 的问题 at 2017年3月10日

    我这个是在development.rb上改的

  • 问个关于 ELK 的问题 at 2017年3月10日
    Started GET "/addresses" for 127.0.0.1 at 2017-03-10 14:15:43 +0800
    Processing by AddressesController#index as HTML
      Rendering addresses/index.html.erb within layouts/application
      ^[[1m^[[36mAddress Load (0.2ms)^[[0m  ^[[1m^[[34mSELECT `addresses`.* FROM `addresses`^[[0m
      Rendered addresses/_table.html.erb (1.6ms)
      ^[[1m^[[36mPicture Load (0.2ms)^[[0m  ^[[1m^[[34mSELECT  `pictures`.* FROM `pictures` ORDER BY `pictures`.`id` DESC LIMIT 8 OFFSET 0^[[0m
      Rendered collection of pictures/_picture.html.erb [8 times] (2.1ms)
      ^[[1m^[[35m (0.3ms)^[[0m  ^[[1m^[[34mSELECT COUNT(*) FROM `pictures`^[[0m
      ^[[1m^[[36mAddress Load (0.2ms)^[[0m  ^[[1m^[[34mSELECT  `addresses`.* FROM `addresses` ORDER BY `addresses`.`id` DESC LIMIT 1^[[0m
      Rendered addresses/index.html.erb within layouts/application (10.6ms)
    Completed 200 OK in 61ms (Views: 58.7ms | ActiveRecord: 0.9ms)
    
    
    Started GET "/" for 127.0.0.1 at 2017-03-10 16:12:27 +0800
      ^[[1m^[[36mActiveRecord::SchemaMigration Load (0.2ms)^[[0m  ^[[1m^[[34mSELECT `schema_migrations`.* FROM `schema_migrations`^[[0m
    Processing by AddressesController#index as HTML
      Rendering addresses/index.html.erb within layouts/application
      ^[[1m^[[36mAddress Load (0.3ms)^[[0m  ^[[1m^[[34mSELECT `addresses`.* FROM `addresses`^[[0m
      Rendered addresses/_table.html.erb (8.2ms)
      ^[[1m^[[36mPicture Load (0.2ms)^[[0m  ^[[1m^[[34mSELECT  `pictures`.* FROM `pictures` ORDER BY `pictures`.`id` DESC LIMIT 8 OFFSET 0^[[0m
      Rendered collection of pictures/_picture.html.erb [8 times] (1.8ms)
      ^[[1m^[[35m (0.2ms)^[[0m  ^[[1m^[[34mSELECT COUNT(*) FROM `pictures`^[[0m
      ^[[1m^[[36mAddress Load (0.3ms)^[[0m  ^[[1m^[[34mSELECT  `addresses`.* FROM `addresses` ORDER BY `addresses`.`id` DESC LIMIT 1^[[0m
      Rendered addresses/index.html.erb within layouts/application (41.0ms)
    Completed 200 OK in 391ms (Views: 377.4ms | ActiveRecord: 2.2ms)
    
  • 问个关于 ELK 的问题 at 2017年3月10日

    我刚试了这个gem, 但log还是和原来的一样啊

  • 我加了那句了的

  • 支持一下

  • @huacnlee 谢谢帮忙, 但好像还是有点问题, 我是希望能够在添加图片后还是保持一页8个,多出来的能直接搞到第二页去