Pergunta

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.

Foi útil?

Solução

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).

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top