<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>KaveriTech Technical Blog &#187; partial</title>
	<atom:link href="http://techblog.kaveritech.com/tag/partial/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.kaveritech.com</link>
	<description>Findings, Tips &#38; Tricks</description>
	<lastBuildDate>Tue, 25 May 2010 12:48:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>save partial to string</title>
		<link>http://techblog.kaveritech.com/2009/12/18/save-partial-to-string/</link>
		<comments>http://techblog.kaveritech.com/2009/12/18/save-partial-to-string/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 07:00:34 +0000</pubDate>
		<dc:creator>satya</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[partial]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[save]]></category>

		<guid isPermaLink="false">http://techblog.kaveritech.com/?p=424</guid>
		<description><![CDATA[Some times, it might be necessary to save a partial content into an instance variable and use it later while rendering the whole page.
For those cases, use &#8220;render_to_string&#8221;,  which takes partial as a parameter (and many others too).
Eg: @partial_string = render_to_string :partial=&#62;&#8221;some/partial&#8221;
render_to_string renders according to the same rules as render , but returns the result [...]]]></description>
			<content:encoded><![CDATA[<p>Some times, it might be necessary to save a partial content into an instance variable and use it later while rendering the whole page.</p>
<p>For those cases, use &#8220;render_to_string&#8221;,  which takes partial as a parameter (and many others too).</p>
<p>Eg: @partial_string = render_to_string :partial=&gt;&#8221;some/partial&#8221;</p>
<p>render_to_string renders according to the same rules as render , but returns the result in a string instead of sending it as the response body to the browser.</p>
<p>Hope this helps. <img src='http://techblog.kaveritech.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.kaveritech.com/2009/12/18/save-partial-to-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
