I have followed the instructions of overriding the devise mailer in Rails from here: https://github.com/plataformatec/devise/wiki/How-To:-Use-custom-mailer
My problem is that the params for the overridden function are missing values
app/mailers/my_mailer.rb
def confirmation_instructions(record, token, opts={})
# record contains the User<ActiveRecord>
# token = nil
# opts = nil
end