FinanceController中的NoMethodError#fee_collection_create
localhost的未定义方法`bash':D:/ D:/ Fedena:Rush :: File
d:/Fedena/vendor/plugins/delayed_job/lib/delayed/manager/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/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:250:在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:在transaction' C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:182:in
交易” C:/Ruby187/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:228:在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/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:723:在create' D:/Fedena/vendor/plugins/delayed_job/lib/delayed/job.rb:126:in
入队'D:/Fedena/app/controllers/finance_controller.rb:1224:infee_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”=>“学费”,“due_date”=>“2015-09-19”, “fee_category_id”=>“学费”,“start_date”=>“2015-09-19”}, “commit”=>“►创建”,“fee_collection”=> {“category_ids”=> [“3”]}}
显示会话转储响应
接头:
{“Content-Type”=>“”,“Cache-Control”=>“no-cache”}
答案 0 :(得分:1)
使用rush version 0.6.7
gem install rush -v 0.6.7