2015-09-19 48 views
0

NoMethodError在FinanceController#fee_collection_createFedena - NoMethodError

本地主機

未定義的方法`慶典」:d:/ d:/ Fedena:拉什::文件

d:/ Fedena /供應商/插件/的delayed_job/LIB /延遲/經理/ local.rb:12: scale_up' D:/Fedena/vendor/plugins/delayed_job/lib/delayed/manager.rb:20:in 發送 ' d:/Fedena/vendor/plugins/delayed_job/lib/delayed/manager.rb:20:在 method_missing' D:/Fedena/vendor/plugins/delayed_job/lib/delayed/job.rb:273:in after_create' C:/ Ruby187/lib/ruby​​/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:347:在 send' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:347:in 回調」 C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:267:在 create' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2874:in create_or_update_without_callbacks' C:/ Ruby187/LIB /紅寶石/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:250:in create_or_update' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2538:in save_without_validation' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/ LIB/active_record/validations.rb:1078:在 save_without_dirty' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/dirty.rb:79:in save_without_transactions' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:229:在 send' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:229:in with_transaction_returning_status' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/ active_record/connection_adapters/abstract/database_statements.rb:136:in transaction' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:182:in transaction' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:228:in with_transaction_returning_status' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:196:in 節省 ' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:208:在 rollback_active_record_state!' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:196:in 節省' C:/ Ruby187/LIB /紅寶石/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:723:in create' D:/Fedena/vendor/plugins/delayed_job/lib/delayed/job.rb:126:in 排隊 'd:/Fedena/app/controllers/finance_controller.rb:1224:在 fee_collection_create' D:/Fedena/app/controllers/finance_controller.rb:1194:in每個' d :/Fedena/app/controllers/finance_controller.rb:1194:在 `fee_collection_create'

請求

參數:

{ 「authenticity_token」=> 「的Nd/L3pku0/+ YQa6buSQ9x4lWSDl8ASJFEdYRY9KmSEA =」, 「finance_fee_collection」=> { 「END_DATE」=> 「2015年9月19日」 , 「name」=>「Tuition」,「due_date」=>「2015-09-19」, 「fee_category_id」=>「學費」,「start_date」=>「2015-09-19」}, 「commit」=>「►創建」,「fee_collection」=> {「category_ids」=> [「3」]}}

顯示會話轉儲響應

頁眉:

{ 「的Content-Type」=> 「」, 「緩存控制」=> 「無緩存」}

回答

1

使用高峯版本0.6.7

gem install rush -v 0.6.7