<?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: Correct use of the flash in Rails</title>
	<atom:link href="http://www.kerrybuckley.org/2007/07/04/correct-use-of-the-flash-in-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kerrybuckley.org/2007/07/04/correct-use-of-the-flash-in-rails/</link>
	<description>What's the simplest thing that could possibly go wrong?</description>
	<lastBuildDate>Mon, 30 Jan 2012 16:30:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: caifara</title>
		<link>http://www.kerrybuckley.org/2007/07/04/correct-use-of-the-flash-in-rails/comment-page-1/#comment-14506</link>
		<dc:creator>caifara</dc:creator>
		<pubDate>Thu, 27 Dec 2007 16:34:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrybuckley.com/2007/07/04/correct-use-of-the-flash-in-rails/#comment-14506</guid>
		<description>This worked very well but when I tried to test a helper, I really couldn&#039;t get it to work.

my test looked something like this:

it &quot;should...&quot;
  flash[:warning] = &quot;warning&quot;
  show_flash_helper
  ...

this didn&#039;t set the flash in the helper when I used this solution. In the end I gave up and used the less pretty solution:

response.should have_tag(&quot;div.warning&quot;)</description>
		<content:encoded><![CDATA[<p>This worked very well but when I tried to test a helper, I really couldn&#8217;t get it to work.</p>
<p>my test looked something like this:</p>
<p>it &#8220;should&#8230;&#8221;<br />
  flash[:warning] = &#8220;warning&#8221;<br />
  show_flash_helper<br />
  &#8230;</p>
<p>this didn&#8217;t set the flash in the helper when I used this solution. In the end I gave up and used the less pretty solution:</p>
<p>response.should have_tag(&#8220;div.warning&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kerry</title>
		<link>http://www.kerrybuckley.org/2007/07/04/correct-use-of-the-flash-in-rails/comment-page-1/#comment-12482</link>
		<dc:creator>Kerry</dc:creator>
		<pubDate>Wed, 28 Nov 2007 15:35:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrybuckley.com/2007/07/04/correct-use-of-the-flash-in-rails/#comment-12482</guid>
		<description>No, no reason, other than I didn&#039;t think of doing it that way at the time!</description>
		<content:encoded><![CDATA[<p>No, no reason, other than I didn&#8217;t think of doing it that way at the time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Swombat</title>
		<link>http://www.kerrybuckley.org/2007/07/04/correct-use-of-the-flash-in-rails/comment-page-1/#comment-12471</link>
		<dc:creator>Swombat</dc:creator>
		<pubDate>Wed, 28 Nov 2007 13:20:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrybuckley.com/2007/07/04/correct-use-of-the-flash-in-rails/#comment-12471</guid>
		<description>Thanks for this! Brilliant!

Have you thought of having FlashHash iteself extend Hash rather than reimplementing [] and []=? Was there any reason why you didn&#039;t go that way?

Daniel</description>
		<content:encoded><![CDATA[<p>Thanks for this! Brilliant!</p>
<p>Have you thought of having FlashHash iteself extend Hash rather than reimplementing [] and []=? Was there any reason why you didn&#8217;t go that way?</p>
<p>Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Mabey</title>
		<link>http://www.kerrybuckley.org/2007/07/04/correct-use-of-the-flash-in-rails/comment-page-1/#comment-9079</link>
		<dc:creator>Ben Mabey</dc:creator>
		<pubDate>Thu, 25 Oct 2007 16:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrybuckley.com/2007/07/04/correct-use-of-the-flash-in-rails/#comment-9079</guid>
		<description>Sweet, thanks for posting this.  It was driving me crazy not being able to spec my flash.now messages.</description>
		<content:encoded><![CDATA[<p>Sweet, thanks for posting this.  It was driving me crazy not being able to spec my flash.now messages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rupert Voelcker</title>
		<link>http://www.kerrybuckley.org/2007/07/04/correct-use-of-the-flash-in-rails/comment-page-1/#comment-7871</link>
		<dc:creator>Rupert Voelcker</dc:creator>
		<pubDate>Sun, 16 Sep 2007 10:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrybuckley.com/2007/07/04/correct-use-of-the-flash-in-rails/#comment-7871</guid>
		<description>Kerry

thanks - you&#039;ve just helped me clear a pile of pending specs

and good to know that there&#039;s at least one other rails/rspec fans at the labs

Cheers

Rupert</description>
		<content:encoded><![CDATA[<p>Kerry</p>
<p>thanks &#8211; you&#8217;ve just helped me clear a pile of pending specs</p>
<p>and good to know that there&#8217;s at least one other rails/rspec fans at the labs</p>
<p>Cheers</p>
<p>Rupert</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.862 seconds -->

