<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using ActiveSupport::Notifications and ActiveSupport::Concern To Create An Audit Trail</title>
	<atom:link href="http://lostechies.com/derickbailey/2011/06/09/using-activesupportnotifications-and-activesupportconcern-to-create-an-audit-trail/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/derickbailey/2011/06/09/using-activesupportnotifications-and-activesupportconcern-to-create-an-audit-trail/</link>
	<description>Better Than Yesterday</description>
	<lastBuildDate>Thu, 13 Jun 2013 17:35:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: jams</title>
		<link>http://lostechies.com/derickbailey/2011/06/09/using-activesupportnotifications-and-activesupportconcern-to-create-an-audit-trail/#comment-2962</link>
		<dc:creator>jams</dc:creator>
		<pubDate>Sat, 05 Jan 2013 17:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=391#comment-2962</guid>
		<description>Nice Post Derick.

I am at a similar cross road now. Did you end up removing the notifications entirely. Just trying to know how it went for you.</description>
		<content:encoded><![CDATA[<p>Nice Post Derick.</p>
<p>I am at a similar cross road now. Did you end up removing the notifications entirely. Just trying to know how it went for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Yoder</title>
		<link>http://lostechies.com/derickbailey/2011/06/09/using-activesupportnotifications-and-activesupportconcern-to-create-an-audit-trail/#comment-1600</link>
		<dc:creator>Paul Yoder</dc:creator>
		<pubDate>Thu, 09 Jun 2011 22:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=391#comment-1600</guid>
		<description>Nice post. Here&#039;s an option to take it one step further and separate the audit concern completely from your models. 

Do not include the Audited module from within your models, but use metaprogramming to have your &quot;lib/initializers/audit_notification_subscriber.rb&quot; file include the Audited module in the desired models. Here&#039;s an example that you would add at the bottom of that file:

Medication.send :include, Audited

And then you can delete the following line from your Medication class: include Audited

I think using ActiveSupport::Notification is a little overkill and can probably be handled well in the Audit module itself, but you&#039;ll have to try it out and see what you like.

Thanks for sharing your thought process. I&#039;m a .Net developer that&#039;s also started developing in rails, so I often times am struggling with the same issues.</description>
		<content:encoded><![CDATA[<p>Nice post. Here&#8217;s an option to take it one step further and separate the audit concern completely from your models. </p>
<p>Do not include the Audited module from within your models, but use metaprogramming to have your &#8220;lib/initializers/audit_notification_subscriber.rb&#8221; file include the Audited module in the desired models. Here&#8217;s an example that you would add at the bottom of that file:</p>
<p>Medication.send :include, Audited</p>
<p>And then you can delete the following line from your Medication class: include Audited</p>
<p>I think using ActiveSupport::Notification is a little overkill and can probably be handled well in the Audit module itself, but you&#8217;ll have to try it out and see what you like.</p>
<p>Thanks for sharing your thought process. I&#8217;m a .Net developer that&#8217;s also started developing in rails, so I often times am struggling with the same issues.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
