<?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: When dynamic programming backfires</title>
	<atom:link href="http://swordsystems.com/2009/11/20/when-dynamic-properties-backfire/feed/" rel="self" type="application/rss+xml" />
	<link>http://swordsystems.com/2009/11/20/when-dynamic-properties-backfire/</link>
	<description>Cutting Commentary</description>
	<lastBuildDate>Thu, 10 Jun 2010 04:30:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: noah</title>
		<link>http://swordsystems.com/2009/11/20/when-dynamic-properties-backfire/comment-page-1/#comment-10</link>
		<dc:creator>noah</dc:creator>
		<pubDate>Fri, 20 Nov 2009 15:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://swordsystems.com/?p=35#comment-10</guid>
		<description>Add it to the metaClass:

controller.metaClass.params = [my:&#039;params&#039;]

Easy peasey.</description>
		<content:encoded><![CDATA[<p>Add it to the metaClass:</p>
<p>controller.metaClass.params = [my:'params']</p>
<p>Easy peasey.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eric</title>
		<link>http://swordsystems.com/2009/11/20/when-dynamic-properties-backfire/comment-page-1/#comment-9</link>
		<dc:creator>eric</dc:creator>
		<pubDate>Fri, 20 Nov 2009 06:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://swordsystems.com/?p=35#comment-9</guid>
		<description>After further testing, it looks like the controller.request.parameters technique does not work within a ControllerUnitTestCase.  You do have to add items to controller.params directly.  However, you can set controller.request.parameters in integration tests (as the blog post that I reference above indicates) and the data will be available via the params call within the controller.  You can also set the controller.params directly with integration tests.

Anyone who wants to dig into exactly why there is a difference is more than welcome.  Personally, I&#039;m calling it a night.</description>
		<content:encoded><![CDATA[<p>After further testing, it looks like the controller.request.parameters technique does not work within a ControllerUnitTestCase.  You do have to add items to controller.params directly.  However, you can set controller.request.parameters in integration tests (as the blog post that I reference above indicates) and the data will be available via the params call within the controller.  You can also set the controller.params directly with integration tests.</p>
<p>Anyone who wants to dig into exactly why there is a difference is more than welcome.  Personally, I&#8217;m calling it a night.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
