简体   繁体   English

ActionMailer :: Base:Class的未定义方法(NoMethodError)

[英]undefined method for ActionMailer::Base:Class (NoMethodError)

I had downgraded back to rails version 4.2.3 from 5 because i was having some issues, now if i try to start the server i keep getting this error in the terminal and the server won't run. 我已经从5降级到Rails版本4.2.3,因为我遇到了一些问题,现在如果我尝试启动服务器,我会在终端中不断收到此错误,并且服务器将无法运行。 How do i get rid of this error? 我如何摆脱这个错误?

/Users/username/.rvm/gems/ruby-2.3.1/gems/actionmailer-4.2.8/lib/action_mailer/base.rb:569:in `method_missing': undefined method `perform_caching=' for ActionMailer::Base:Class (NoMethodError)

我不得不在development.rb中注释掉#config.action_mailer.perform_caching = false

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ActionMailer — NoMethodError:MyMailer:Class的未定义方法X - ActionMailer — NoMethodError: undefined method X for MyMailer:Class Rails 4中ActionMailer :: Base:Class的未定义方法&#39;async =&#39; - undefined method `async=' for ActionMailer::Base:Class in rails 4 ActionMailer:my_class#create为nil:NilClass创建未定义的方法“ each”的NoMethodError - ActionMailer : NoMethodError in my_class#create undefined method `each' for nil:NilClass ActionView :: Base的未定义方法`cache_template_extensions =&#39;:Class(NoMethodError) - Undefined method `cache_template_extensions=' for ActionView::Base:Class (NoMethodError) 用于ActiveRecord :: Base的未定义方法`mass_assignment_sanitizer =&#39;:Class(NoMethodError) - Undefined method `mass_assignment_sanitizer=' for ActiveRecord::Base:Class (NoMethodError) 错误NoMethodError:ActionView :: Base的未定义方法`debug_rjs =':Class - ERROR NoMethodError: undefined method `debug_rjs=' for ActionView::Base:Class 未定义的方法 raise_in_transactional_callbacks=&#39; 用于 ActiveRecord::Base:Class (NoMethodError) - Undefined method raise_in_transactional_callbacks=' for ActiveRecord::Base:Class (NoMethodError) 使用ApplicationHelper的ActionMailer类中的未定义方法 - Undefined method in ActionMailer class with ApplicationHelper NoMethodError:nil的未定义方法&#39;env&#39;:ActionMailer :: TestCase中的NilClass - NoMethodError: undefined method 'env' for nil:NilClass in ActionMailer::TestCase NoMethodError:#的未定义方法“类型” <Class> - NoMethodError: undefined method `type' for #<Class>
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM