Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

mailer

How to change “Devise: password reset instruction email’s subject”

December 19, 2023 by Tarik

you can change it in devise.en.yml file in intilizer directory And set your own subject for any mailer mailer: confirmation_instructions: subject: ‘Confirmation instructions’ reset_password_instructions: subject: ‘Reset password instructions’ unlock_instructions: subject: ‘Unlock Instructions’

Categories ruby-on-rails Tags devise, mailer, ruby, ruby-on-rails Leave a comment

How do I configure devise to use a custom email layout?

August 4, 2023 by Tarik

Found the answer sitting in the Devise Github wiki, Reading that helps. 😉 config.to_prepare do Devise::Mailer.layout “simple” # simple.haml or simple.erb Devise::Mailer.helper :mailer end Here is the reference of the wiki page: How To: Create custom layouts

Categories ruby-on-rails Tags devise, mailer, ruby-on-rails, ruby-on-rails-3 Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa