2010-09-06 37 views
0
NoMethodError (undefined method `submitting' for []:Array): 
    haml (2.2.0) lib/sass/plugin/rails.rb:19:in `process_without_compass' 
    compass (0.8.17) lib/compass/app_integration/rails/action_controller.rb:7:in `process' 
    /usr/local/lib/ruby/gems/1.8/gems/hoptoad_notifier-2.3.6/lib/hoptoad_notifier/rack.rb:27:in `call' 

得到錯誤這樣
如果任何一個有想過這事?的Rails:NoMethodError(爲[]未定義的方法`提交」:陣列)

+0

@ sachinrathore11您能否給我們提供一段代碼,以便分析問題會更容易一些 – Rohit 2010-09-06 11:35:08

回答

0

很難說完全沒有看到你的代碼,但它似乎是你嘗試訪問一個數組上的方法而不是模型對象或東西。你是否將一個對象數組傳遞給一個視圖而不是隻有一個對象?

相關問題