<?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: acts_as_audited gains parent record tracking</title>
	<atom:link href="http://www.opensourcery.co.za/2008/09/24/acts_as_audited-gains-parent-record-tracking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.opensourcery.co.za/2008/09/24/acts_as_audited-gains-parent-record-tracking/</link>
	<description>Wizardry through open source</description>
	<lastBuildDate>Mon, 02 May 2011 17:05:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Webiest : Links for October 21st</title>
		<link>http://www.opensourcery.co.za/2008/09/24/acts_as_audited-gains-parent-record-tracking/comment-page-1/#comment-129</link>
		<dc:creator>Webiest : Links for October 21st</dc:creator>
		<pubDate>Tue, 21 Oct 2008 07:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.opensourcery.co.za/?p=83#comment-129</guid>
		<description>[...] acts_as_audited gains parent record tracking &#124; Open Sourcery - [...]</description>
		<content:encoded><![CDATA[<p>[...] acts_as_audited gains parent record tracking | Open Sourcery &#8211; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenneth Kalmer</title>
		<link>http://www.opensourcery.co.za/2008/09/24/acts_as_audited-gains-parent-record-tracking/comment-page-1/#comment-92</link>
		<dc:creator>Kenneth Kalmer</dc:creator>
		<pubDate>Thu, 25 Sep 2008 09:40:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.opensourcery.co.za/?p=83#comment-92</guid>
		<description>Sweepers give you the best o both worlds, they act exactly like Observers so you can attach them to models, but they can also tap into the environment where the action was performed.

This is how we can access the access the user that made the change, and even go as far as recording the IP address and other information as needs be.

I agree with you its hacky, and the Rails Recipe that originally gave the solution also admits it.

But then again, Ruby in itself allows for all hacky-ness we&#039;ll ever need and we might as well extort this functionality as long as its well tested and documented.</description>
		<content:encoded><![CDATA[<p>Sweepers give you the best o both worlds, they act exactly like Observers so you can attach them to models, but they can also tap into the environment where the action was performed.</p>
<p>This is how we can access the access the user that made the change, and even go as far as recording the IP address and other information as needs be.</p>
<p>I agree with you its hacky, and the Rails Recipe that originally gave the solution also admits it.</p>
<p>But then again, Ruby in itself allows for all hacky-ness we&#8217;ll ever need and we might as well extort this functionality as long as its well tested and documented.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Peterson</title>
		<link>http://www.opensourcery.co.za/2008/09/24/acts_as_audited-gains-parent-record-tracking/comment-page-1/#comment-91</link>
		<dc:creator>Erik Peterson</dc:creator>
		<pubDate>Wed, 24 Sep 2008 21:08:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.opensourcery.co.za/?p=83#comment-91</guid>
		<description>Why Controller-level auditing?  It seems like the wrong place to put this functionality.  Sweepers were intended for something else, and using them in this manner just seems... &quot;hacky&quot;.

I&#039;ve implemented my own model-level auditing using Observers, with a much better result.</description>
		<content:encoded><![CDATA[<p>Why Controller-level auditing?  It seems like the wrong place to put this functionality.  Sweepers were intended for something else, and using them in this manner just seems&#8230; &#8220;hacky&#8221;.</p>
<p>I&#8217;ve implemented my own model-level auditing using Observers, with a much better result.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 6/14 queries in 0.004 seconds using disk

Served from: www.opensourcery.co.za @ 2012-02-07 16:33:56 -->
