I have a method that takes an array of strings and joins them so they do something like this:
>> my_arr
=> [\"A\", \"B\", \"C\"]
>> and_join(m
In my case, for Rails 5.1, I had to use both include and helper methods, like this:
include ApplicationHelper
helper :application
And then just proceed to use the method normally.
class MyMailer < ActionMailer::Base
include ApplicationHelper
helper :application
def my_mailer_method
my_helper_method_declared_in_application_helper
..
end
end