2012-04-17 17 views
0

我找不到問題的根源。爲什麼ActiveAdmin文件出現在Rails日誌中,每個請求?

我用Rails 3.1.1和0.4.0 ActiveAdmin。 Web服務器是WEBrick 1.3.1。

每個請求,ActiveAdmin文件都顯示在日誌中。例如:

Started GET "/admin/" for 127.0.0.1 at 2012-04-17 21:28:37 +0200 
[nil, ["path/to/the/app/admin", "path/to/the/app/admin/modela.rb", "path/to/the/app/admin/modelb.rb", "path/to/the/app/admin/modelc.rb", "path/to/the/app/admin/modeld.rb", "path/to/the/app/admin/modele.rb", "path/to/the/app/admin/modelf.rb", "path/to/the/app/admin/modelg.rb", "path/to/the/app/admin/modelh.rb", "path/to/the/app/admin/modeli.rb"]] 
    Processing by Admin::DashboardController#index as HTML 
Completed 401 Unauthorized in 7ms 

的應用程序/管理/ dashboards.rb:

ActiveAdmin::Dashboards.build do 
end 

不管該頁面時,ActiveAdmin文件顯示在日誌... 無論環境(開發,分期,生產...)

另一個頁面,另一個例子:

[...] 

Started GET "/assets/jquery-1.7.1.min.js?body=1" for 127.0.0.1 at 2012-04-18 12:37:40 +0200 
[nil, ["path/to/the/app/admin", "path/to/the/app/admin/modela.rb", "path/to/the/app/admin/modelb.rb", "path/to/the/app/admin/modelc.rb", "path/to/the/app/admin/modeld.rb", "path/to/the/app/admin/modele.rb", "path/to/the/app/admin/modelf.rb", "path/to/the/app/admin/modelg.rb", "path/to/the/app/admin/modelh.rb", "path/to/the/app/admin/modeli.rb"]] 
Served asset /jquery-1.7.1.min.js - 304 Not Modified (0ms) 


Started GET "/assets/jquery.ui.datepicker-fr.js?body=1" for 127.0.0.1 at 2012-04-18 12:37:40 +0200 
[nil, ["path/to/the/app/admin", "path/to/the/app/admin/modela.rb", "path/to/the/app/admin/modelb.rb", "path/to/the/app/admin/modelc.rb", "path/to/the/app/admin/modeld.rb", "path/to/the/app/admin/modele.rb", "path/to/the/app/admin/modelf.rb", "path/to/the/app/admin/modelg.rb", "path/to/the/app/admin/modelh.rb", "path/to/the/app/admin/modeli.rb"]] 
Served asset /jquery.ui.datepicker-fr.js - 304 Not Modified (0ms) 


Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-04-18 12:37:40 +0200 
[nil, ["path/to/the/app/admin", "path/to/the/app/admin/modela.rb", "path/to/the/app/admin/modelb.rb", "path/to/the/app/admin/modelc.rb", "path/to/the/app/admin/modeld.rb", "path/to/the/app/admin/modele.rb", "path/to/the/app/admin/modelf.rb", "path/to/the/app/admin/modelg.rb", "path/to/the/app/admin/modelh.rb", "path/to/the/app/admin/modeli.rb"]] 
Served asset /jquery_ujs.js - 304 Not Modified (0ms) 

[...] 

小號ee,在每個請求中有:

[nil, ["path/to/the/app/admin", "path/to/the/app/admin/modela.rb", "path/to/the/app/admin/modelb.rb", "path/to/the/app/admin/modelc.rb", "path/to/the/app/admin/modeld.rb", "path/to/the/app/admin/modele.rb", "path/to/the/app/admin/modelf.rb", "path/to/the/app/admin/modelg.rb", "path/to/the/app/admin/modelh.rb", "path/to/the/app/admin/modeli.rb"]] 

任何想法?

+1

升級到activeadmin 0.4.3 – 2012-04-26 07:53:55

回答

0

看起來像調試可能會在堆棧中的某個地方打開。

而不進行進一步的盲目調試,可以提供有關此問題的詳細信息 - 如:

  • 您已經安裝什麼版本的Rails的
  • 什麼版本ActiveAdmin的已安裝
  • 管理: :DashboardController代碼
+0

你好,謝謝回答。我編輯了我的帖子。這個問題最近顯示,我無法找到什麼改變了我的配置/應用程序,產生這... – 2012-04-18 10:16:53

相關問題