NoMethodError in FinanceController#fee_collection_create 未定义的方法D:/Fedena/vendor/plugins/delayed_job/lib/delayed/manager.rb:20:in
send' D:/Fedena/vendor/plugins/delayed\_job/lib/delayed/manager.rb:20:inmethod_missing‘D:/Fedena/vendor/plugins/delayed_job/lib/delayed/job.rb:273:inafter\_create' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active\_record/callbacks.rb:347:insend’C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:347:incallback' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active\_record/callbacks.rb:267:increate‘C:/ruby 187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2874:increate\_or\_update\_without\_callbacks' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active\_record/callbacks.rb:250:increate_or_update‘C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2538:insave\_without\_validation' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active\_record/validations.rb:1078:insave_without_dirty’C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/dirty.rb:79:inD7with\_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:intransaction‘C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:182:intransaction' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active\_record/transactions.rb:228:inwith_transaction_returning_status’C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/ code>send‘active_record/transactions.rb:196:insave' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active\_record/transactions.rb:208:inrollback_active_record_state!‘C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:196:insave' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active\_record/base.rb:723:increate‘D:/Fedena/vendor/plugins/delayed_job/lib/delayed/job.rb:126:inenqueue' D:/Fedena/app/controllers/finance\_controller.rb:1224:infee_collection_create’D:/Fedena/app/controllers/finance_controller.rb:1194:ineach' D:/Fedena/app/controllers/finance\_controller.rb:1194:infee_collection_create‘ 请求 参数: {"authenticity_token"=>"Nd/L3pku0/+YQa6buSQ9x4lWSDl8ASJFEdYRY9KmSEA=","finance_fee_collection"=>{"end_date"=>"2015-09-19",“命名为”=>“学费”、"due_date"=>"2015-09-19“、”fee_category_id“=>”学校费“、”start_date“”=>“2015-09-19”}、“提交”=>“►Create”、“fee_collection”=>{“category_ids”=>“3”} 显示会话转储响应 标题: {“内容-类型”“=>”、“缓存-控制”=>“无缓存”}
发布于 2015-10-27 06:33:29
使用rush版本0.6.7
gem install rush -v 0.6.7https://stackoverflow.com/questions/32666107
复制相似问题