<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Mad Marmot comments</title>
    <link>http://www.lukeludwig.com/blog</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>A blog about programming, ruby, rails, and my crazy outdoor pursuits</description>
    <item>
      <title>"Running ar_sendmail with monit" by Gustav Paul</title>
      <description>thanks for this</description>
      <pubDate>Mon, 09 Jun 2008 13:52:27 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:fe904333-8465-4ae4-9b61-0767f5070374</guid>
      <link>http://www.lukeludwig.com/blog/articles/2007/12/05/running-ar_sendmail-with-monit#comment-848</link>
    </item>
    <item>
      <title>"Switching from mongrel to mod_rails." by Ivan</title>
      <description>I found you! Guess where I'm at? I need some camping/canoeing advice. Call (763.572.6829) or email me.</description>
      <pubDate>Tue, 22 Apr 2008 16:08:57 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:d43f6b4e-4b4e-405c-82e2-b984d077931f</guid>
      <link>http://www.lukeludwig.com/blog/articles/2008/04/13/switching-from-mongrel-to-mod_rails#comment-586</link>
    </item>
    <item>
      <title>"Running ar_sendmail with monit" by Fernando</title>
      <description>sorry, i meant ActionMailer::ARSendmail.remove_pid_file</description>
      <pubDate>Fri, 18 Apr 2008 08:04:11 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:3df599bc-a7b5-4c8d-a138-a9b976f29bdf</guid>
      <link>http://www.lukeludwig.com/blog/articles/2007/12/05/running-ar_sendmail-with-monit#comment-565</link>
    </item>
    <item>
      <title>"Running ar_sendmail with monit" by Fernando</title>
      <description>thank's a lot, it's been a great help for me :)
Just one thing, i had to change the self.remove_pid_file calls to ActionMailer::ARSendmail.send_mail  in order to make it work</description>
      <pubDate>Fri, 18 Apr 2008 08:03:37 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:a65362d5-a8aa-4314-9b29-f91688c3f9db</guid>
      <link>http://www.lukeludwig.com/blog/articles/2007/12/05/running-ar_sendmail-with-monit#comment-564</link>
    </item>
    <item>
      <title>"Running ar_sendmail with monit" by Jatinder</title>
      <description>Jarkko, ActiveRecord can be used outside scope of a Rails app. 

Thanks for the wonderful write up, Luke!</description>
      <pubDate>Thu, 10 Apr 2008 22:58:55 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:b5da64df-d448-4c12-9a91-3c102fcbb50e</guid>
      <link>http://www.lukeludwig.com/blog/articles/2007/12/05/running-ar_sendmail-with-monit#comment-517</link>
    </item>
    <item>
      <title>"Inspiration While Kayaking" by Luke</title>
      <description>You can contact me via email: luke At lukeludwig com</description>
      <pubDate>Tue, 01 Apr 2008 19:36:10 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:56fbc247-1fcc-4a7b-993b-c1910cb34481</guid>
      <link>http://www.lukeludwig.com/blog/articles/2007/05/03/inspiration-while-kayaking#comment-430</link>
    </item>
    <item>
      <title>"Inspiration While Kayaking" by Sam</title>
      <description>Hey Luke, I am attempting to contact you and don't know how.

I need to ask you some personal questions if you know how to install and slice our custom graphic design into the Substruct.

Or do you know of someone?

We have a basic design to slice and I have just downloaded the Substruct and have no idea what I'm doing.

I do have experience with installing WordPress and the G2 Image Gallery. I noticed you are using the G2 as well in your photo section on your web site.

Please contact me if you can. Thank you for your kind support.  :-)

Sam B.</description>
      <pubDate>Mon, 24 Mar 2008 13:10:27 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:f20b5fe8-5fc1-4699-99fa-a8fcfc45fac2</guid>
      <link>http://www.lukeludwig.com/blog/articles/2007/05/03/inspiration-while-kayaking#comment-345</link>
    </item>
    <item>
      <title>"Running ar_sendmail with monit" by Jarkko Laine</title>
      <description>Thanks for an excellent tutorial! Another reason why ar_sendmail loads the environment is that it uses ActiveRecord to interface with the emails table in the database.</description>
      <pubDate>Tue, 18 Mar 2008 04:23:48 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:e37eab38-28d6-4173-830f-71deacf08460</guid>
      <link>http://www.lukeludwig.com/blog/articles/2007/12/05/running-ar_sendmail-with-monit#comment-282</link>
    </item>
    <item>
      <title>"How to add a new column to Rails' sessions" by psharp</title>
      <description>That's exactly what we found.  We've been trying to find another way around it, since we originally had the session updater in a library file without access to the session.

Thanks for the response!</description>
      <pubDate>Mon, 03 Mar 2008 08:14:59 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:53386168-dda0-4e5a-bb9d-7f9492ed0887</guid>
      <link>http://www.lukeludwig.com/blog/articles/2007/11/26/how-to-add-a-new-column-to-rails-sessions#comment-172</link>
    </item>
    <item>
      <title>"How to add a new column to Rails' sessions" by Luke</title>
      <description>&lt;p&gt;If I am following you correctly, you are saying that if the current session for the request is one of the sessions that gets updated in the sessions.each loop above it doesn&amp;#39;t seem to affect it. At the end of every request that rails processes it saves the current session to the database, which overwrites the change that was just made to it.  This also explains why you were able to see the change take affect in the console, but then with the next request the change was gone.&amp;nbsp; So if you need this code to potentially affect the current request&amp;#39;s session as well you could do this:  &lt;/p&gt;&lt;p&gt;sessions.each do |sess|   &lt;/p&gt;&lt;p&gt;&amp;nbsp; if sess.session_id == session.session_id&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; session.data[:access_privileges] = new_access_privileges   &lt;/p&gt;&lt;p&gt;&amp;nbsp; else     &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; user_session = CGI::Session::ActiveRecordStore::Session.find_by_session_id(sess.session_id)&amp;nbsp;     &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; user_session.data[:access_privileges] =new_access_privileges     &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; user_session.save   &lt;/p&gt;&lt;p&gt;&amp;nbsp; end &lt;/p&gt;&lt;p&gt;end&lt;/p&gt;&lt;p&gt;Notice that you don&amp;#39;t need to call save on session.save since rails does this for you at the end of the request.&amp;nbsp;&lt;/p&gt;</description>
      <pubDate>Fri, 29 Feb 2008 17:47:18 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:7d02d487-091a-4282-b7ba-233735cca145</guid>
      <link>http://www.lukeludwig.com/blog/articles/2007/11/26/how-to-add-a-new-column-to-rails-sessions#comment-151</link>
    </item>
  </channel>
</rss>
