문제

I created config/initializers/griddler.rb per the github's instructions:

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

On running I get this error:

 /app/config/initializers/griddler.rb:2:in `block in <top (required)>': undefined method `processor_class=' for #<Griddler::Configuration:0x00000004b1eb18> (NoMethodError)

The file is located at ./config/initializers/griddler.rb . I'm not sure why it shows /app there.

도움이 되었습니까?

해결책

You likely are using an outdated version of the Griddler gem, which did not have this API. Try upgrading to the latest version of the Griddler gem (0.5.0 as of this writing).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top