Skip to content
This repository was archived by the owner on Aug 28, 2023. It is now read-only.
This repository was archived by the owner on Aug 28, 2023. It is now read-only.

Doesn't work with $DEBUG == true #32

@yefrem

Description

@yefrem

Hello guys
I've came across this issue when deployed my app to DigitalOcean VPS pre-configured for Rails app.
I was getting this

too many arguments for format string
/usr/local/rvm/gems/ruby-2.4.0/gems/madmimi-1.1.2/lib/madmimi.rb:358:in `%'
/usr/local/rvm/gems/ruby-2.4.0/gems/madmimi-1.1.2/lib/madmimi.rb:358:in `path'
/usr/local/rvm/gems/ruby-2.4.0/gems/madmimi-1.1.2/lib/madmimi.rb:237:in `send_mail'`

When calling send_mail from controller. Thing is that with $DEBUG == true the line 'smth' % {} raises that error and I've had my unicorn set up to enable debug.
I'm not sure if you think it's worth fixing or not. If you don't maybe noticing this in docs could be a good idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions