# ActionMailer question

**URL:** <https://www.ruby-forum.com/t/actionmailer-question/160818>\
**Category:** Rails\
**Created:** [February 20, 2009, 12:04am UTC](https://www.ruby-forum.com/t/actionmailer-question/160818 "2009-02-20T00:04:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Annese](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/5daacb/32.png) [@Alexander\_Annese](https://www.ruby-forum.com/u/Alexander_Annese)\
**Post date:** [February 20, 2009, 12:04am UTC](https://www.ruby-forum.com/t/actionmailer-question/160818/1 "2009-02-20T00:04:51Z")

</div>

[http://pastie.org/394347](http://pastie.org/394347)

I’m trying to concat a few things inside the subject portion of an  
actionmailer method, is it possible?

---

<div class="post-metadata">

**Author:** ![Alexander\_Annese](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/5daacb/32.png) [@Alexander\_Annese](https://www.ruby-forum.com/u/Alexander_Annese)\
**Post date:** [February 20, 2009, 2:34am UTC](https://www.ruby-forum.com/t/actionmailer-question/160818/2 "2009-02-20T02:34:36Z")

</div>

You can concat anything you want into the subject.

The issue you have is with the last argument in your expression. You  
need to process it a little more to get it to a string. Specifically,  
you need to format the time string.
