Double console output?

前端 未结 6 1593
深忆病人
深忆病人 2021-02-08 04:28

Suddenly when I run my app locally, I get double console output. Does anybody know what might have caused this? The problem exists both when running Thin and Unicorn

<         


        
6条回答
  •  天命终不由人
    2021-02-08 04:44

    Check if you have code like this in your application:

    
    

    Rails sometimes makes duplicate records because of this also.

    You may try doing:

    rake assets:clean
    

    Or maybe, commenting out this line in development.rb, might work:

    config.active_support.deprecation = :log
    

    As a last try, you may even try changing the folder of the application and then start the server to see the result.

    Cheers!

提交回复
热议问题