我根据github的说明创建了config / initializers / griddler.rb:
Griddler.configure do |config|
config.processor_class = EmailProcessor
config.to = :email # :full, :email, :hash
config.reply_delimiter = '-- REPLY ABOVE THIS LINE --'
config.email_service = :mandrill
end
在运行时我收到此错误:
/app/config/initializers/griddler.rb:2:in `block in <top (required)>': undefined method `processor_class=' for #<Griddler::Configuration:0x00000004b1eb18> (NoMethodError)
该文件位于./config/initializers/griddler.rb。我不确定为什么会在那里显示/ app。