DEV Community

Discussion on: Devise and SendGrid integration into rails 6

Collapse
 
piclez profile image
Peter WD

Quick adjustment, you need to call Rails.application.credentials.dig(:sendgrid, :user_name) to get it right. Also don't forget to pass --environment=development or other when editing your credentials.