<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiro-ueda</author_name>
  <author_url>https://blog.hatena.ne.jp/hiro-ueda/</author_url>
  <blog_title>BSDmad の日記</blog_title>
  <blog_url>https://bsdmad.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>まんまですが... task.worker = 1 show_name(task.worker) # =&gt; 'BSDmad' とやりたいのですが、コントローラから呼び出す分には問題ないのです。しかし ActionMailer のテンプレートファイル中で呼び出そうとすると no method でエラーになります。 class Notifier としてあるのですが、このクラスのメソッド内ではつかえるものの、呼び出されるテンプレートファイル中では no method になります。何を勘違いしているのか良く分かりませんので、お分かりになる方がいらっしゃったらご教授ください m(__)m。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbsdmad.hatenablog.com%2Fentry%2F20060827%2Fp2&quot; title=&quot; Rails で ActionMailer のテンプレート中でヘルパーメソッドが使いたい - BSDmad の日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-08-27 00:00:01</published>
  <title> Rails で ActionMailer のテンプレート中でヘルパーメソッドが使いたい</title>
  <type>rich</type>
  <url>https://bsdmad.hatenablog.com/entry/20060827/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
