In the mailer class that you are using to manage your emails:
class ReportMailer < ActionMailer::Base
add_template_helper(AnnotationsHelper)
...
end
More Related Contents:
- Boolean Validation
- Convert url from https to http [closed]
- WARNING: Can’t verify CSRF token authenticity rails
- How do I get the current absolute URL in Ruby on Rails?
- SSL Error When installing rubygems, Unable to pull data from ‘https://rubygems.org/
- Nested attributes unpermitted parameters
- What is the easiest way to duplicate an activerecord record?
- Rails 3.1 asset pipeline: how to load controller-specific scripts?
- rails – Devise – Handling – devise_error_messages
- How to solve error “Missing `secret_key_base` for ‘production’ environment” (Rails 4.1)
- How can I avoid running ActiveRecord callbacks?
- Rails 5: Load lib files in production
- How does instance_eval work and why does DHH hate it?
- test a file upload using rspec – rails
- How to query a model based on attribute of another model which belongs to the first model?
- Rails 4: assets not loading in production
- Overriding a module method from a gem in Rails
- Remove ActiveRecord in Rails 3
- Rails – Validate Presence Of Association?
- Converting string from snake_case to CamelCase in Ruby
- Rails: How to list database tables/objects using the Rails console?
- pass parameter by link_to ruby on rails
- Controller spec unknown keyword: id
- Best way to generate slugs (human-readable IDs) in Rails
- First argument in form cannot contain nil or be empty – Rails 4
- Is it possible to refresh partial frequently using Ajax?
- What is the difference between pluck and collect in Rails?
- Looking for suggestions for building a secure REST API within Ruby on Rails
- Sass import error in Rails 3 app – “File to import not found or unreadable: compass”
- How to integrate a Wrap Bootstrap theme into an Rails application?