我根据 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 。