<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0"
  xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Tom Counsell's Soks Wiki Accessing ActionController from ActionMailer using Integration::Session</title>
    <link>http://tom.counsell.org</link>
    <description>A vanity site</description>
    <image>
      <url>http://tom.counsell.org/Static/logo.png</url>
      <title>Tom Counsell's Soks Wiki</title>
      <link>http://tom.counsell.org</link>
    </image>
    <item>
      <title>h1. Accessing ActionController from ActionMailer using Integration::Session</title>
      <link>http://tom.counsell.org/view/AccessingActioncontrollerFromActionmailerUsingIntegrationSession</link>
      <description>h1. Accessing ActionController from ActionMailer using Integration::Session&lt;br /&gt;&lt;br /&gt;Up until Rails 1.1 there was no easy way to include output from ActionControllers in a mail message created with ActionMailer.  Now you can use code like this in your mail view templates:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt; &lt;%   session = ActionController::Integration::Session.new %&gt;&lt;br /&gt; &lt;%   session.host! 'www.mysite.com' %&gt;&lt;br /&gt; &lt;%  session.get session.url_for(:controller =&gt; 'view', :action =&gt; 'somthing' ) %&gt;&lt;br /&gt; &lt;%=   session.response.body %&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&amp;#8230;&lt;br /&gt;</description>
      <author>tamc</author>
      <pubDate>Sun, 23 Apr 2006 17:08:58 +0000</pubDate>
    </item>
    <textInput>
      <title>Search</title>
      <description>Search Tom Counsell's Soks Wiki's text</description>
      <name>regex</name>
      <link>http://tom.counsell.org/find/Searchpage</link>
    </textInput>
  </channel>
</rss>