How do I access time_ago_in_words from an email template in my rails app?
you can use
def YourNotifierClass < ActionMailer::Base include ActionView::Helpers::DateHelper ... end
to enable date helper.
Source: https://habr.com/ru/post/1744886/More articles:Using a resource as an attribute of an HTML element in ASP.net - c #passing a class method as opposed to a function in std :: sort - c ++General Protection Error - windowsСоздание уведомления о переполнении стека - androidВеб-служба вызова драйвера - c#item-not-found (404) when trying to get node using smackx pubsub - javaКак я могу синхронизировать три класса? - designКак нарисовать NSString вертикально на iPhone? - iphoneReading contacts - androidValidation errors prevent calling device properties - c #All Articles