app/mailers/mailer.rb
Method email_verification
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def email_verification(user, recipient, token, document_type, document_number)
Line is too long. [109/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
mail(to: @email_to, subject: t('mailers.budget_investment_unfeasible.subject', code: @investment.code))
- Exclude checks
Line is too long. [109/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
mail(to: @email_to, subject: t('mailers.budget_investment_unselected.subject', code: @investment.code))
- Exclude checks
Line is too long. [116/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
mail(to: @email_to, subject: t('mailers.unfeasible_spending_proposal.subject', code: @spending_proposal.code))
- Exclude checks
Line is too long. [107/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
mail(to: @email_to, subject: t('mailers.budget_investment_selected.subject', code: @investment.code))
- Exclude checks
Line is too long. [114/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
mail(to: @email_to, subject: t('mailers.proposal_notification_digest.title', org_name: Setting['org_name']))
- Exclude checks
Line is too long. [110/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
mail(to: @email_to, subject: t('mailers.reply.subject')) if @commentable.present? && @recipient.present?
- Exclude checks
Line is too long. [140/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
subject = t('mailers.comment.subject', commentable: t("activerecord.models.#{@commentable.class.name.underscore}", count: 1).downcase)
- Exclude checks