How do I access time_ago_in_words from the email template in my rails app?
+2
A:
You can use
def YourNotifierClass < ActionMailer::Base
include ActionView::Helpers::DateHelper
...
end
to include date helper.
dombesz
2010-05-11 06:41:47