<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: The Embedded Actions plugin for Rails</title>
	<link>http://www.notsostupid.com/blog/2007/10/23/the-embedded-actions-plugin-for-rails/</link>
	<description>we don't believe in slogans</description>
	<pubDate>Fri, 05 Sep 2008 23:16:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1</generator>

	<item>
		<title>By: Herman verschooten</title>
		<link>http://www.notsostupid.com/blog/2007/10/23/the-embedded-actions-plugin-for-rails/#comment-19148</link>
		<author>Herman verschooten</author>
		<pubDate>Thu, 25 Oct 2007 07:45:21 +0000</pubDate>
		<guid>http://www.notsostupid.com/blog/2007/10/23/the-embedded-actions-plugin-for-rails/#comment-19148</guid>
					<description>So a simple call like ???  The code is swallowed by rails it seems...

Looks nice and interesting.

Herman</description>
		<content:encoded><![CDATA[<p>So a simple call like ???  The code is swallowed by rails it seems&#8230;</p>
<p>Looks nice and interesting.</p>
<p>Herman</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Roman Gonzalez</title>
		<link>http://www.notsostupid.com/blog/2007/10/23/the-embedded-actions-plugin-for-rails/#comment-21711</link>
		<author>Roman Gonzalez</author>
		<pubDate>Mon, 12 Nov 2007 22:18:09 +0000</pubDate>
		<guid>http://www.notsostupid.com/blog/2007/10/23/the-embedded-actions-plugin-for-rails/#comment-21711</guid>
					<description>Love this plugin, it helps you keep DRY in the application.

There is some features that you didn't show in the main post, that I may consider important... you can pass parameters to the embedded actions with the :params key

for example supuse that we want to embed an action, but this actions requires a user_id in the params, we could easily do this in the invocation of embed_action:

embed_action :controller =&#62; 'post', :action =&#62; 'top_10', :params =&#62; { :user_id =&#62; 10 }

or we could pass even the same params hash and it would take it

embed_action :controller =&#62; 'post', :action =&#62; 'top_10', :params =&#62; params

Could notice that you cant put even ruby objects and it takes it to the controller too

embed_action :controller =&#62; 'post', :action =&#62; 'top_10', :params =&#62; { :user =&#62; current_user }

This plugin is very cool indeed.</description>
		<content:encoded><![CDATA[<p>Love this plugin, it helps you keep DRY in the application.</p>
<p>There is some features that you didn&#8217;t show in the main post, that I may consider important&#8230; you can pass parameters to the embedded actions with the :params key</p>
<p>for example supuse that we want to embed an action, but this actions requires a user_id in the params, we could easily do this in the invocation of embed_action:</p>
<p>embed_action :controller =&gt; &#8216;post&#8217;, :action =&gt; &#8216;top_10&#8242;, :params =&gt; { :user_id =&gt; 10 }</p>
<p>or we could pass even the same params hash and it would take it</p>
<p>embed_action :controller =&gt; &#8216;post&#8217;, :action =&gt; &#8216;top_10&#8242;, :params =&gt; params</p>
<p>Could notice that you cant put even ruby objects and it takes it to the controller too</p>
<p>embed_action :controller =&gt; &#8216;post&#8217;, :action =&gt; &#8216;top_10&#8242;, :params =&gt; { :user =&gt; current_user }</p>
<p>This plugin is very cool indeed.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Hongli Lai</title>
		<link>http://www.notsostupid.com/blog/2007/10/23/the-embedded-actions-plugin-for-rails/#comment-22443</link>
		<author>Hongli Lai</author>
		<pubDate>Mon, 19 Nov 2007 10:22:56 +0000</pubDate>
		<guid>http://www.notsostupid.com/blog/2007/10/23/the-embedded-actions-plugin-for-rails/#comment-22443</guid>
					<description>What's the difference between this and Rails components?</description>
		<content:encoded><![CDATA[<p>What&#8217;s the difference between this and Rails components?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jerrett</title>
		<link>http://www.notsostupid.com/blog/2007/10/23/the-embedded-actions-plugin-for-rails/#comment-23373</link>
		<author>Jerrett</author>
		<pubDate>Wed, 28 Nov 2007 22:46:17 +0000</pubDate>
		<guid>http://www.notsostupid.com/blog/2007/10/23/the-embedded-actions-plugin-for-rails/#comment-23373</guid>
					<description>We have been using this for awhile too, on something not quite live yet...  great work Sebastian, and thanks for the plugin!</description>
		<content:encoded><![CDATA[<p>We have been using this for awhile too, on something not quite live yet&#8230;  great work Sebastian, and thanks for the plugin!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Not So Stupid &#187; Blog Archive &#187; Embedded Actions 1.1</title>
		<link>http://www.notsostupid.com/blog/2007/10/23/the-embedded-actions-plugin-for-rails/#comment-23830</link>
		<author>Not So Stupid &#187; Blog Archive &#187; Embedded Actions 1.1</author>
		<pubDate>Tue, 04 Dec 2007 15:10:47 +0000</pubDate>
		<guid>http://www.notsostupid.com/blog/2007/10/23/the-embedded-actions-plugin-for-rails/#comment-23830</guid>
					<description>[...] just released an update to my Embedded Actions plugin for [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] just released an update to my Embedded Actions plugin for [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: jc</title>
		<link>http://www.notsostupid.com/blog/2007/10/23/the-embedded-actions-plugin-for-rails/#comment-24422</link>
		<author>jc</author>
		<pubDate>Wed, 12 Dec 2007 10:46:48 +0000</pubDate>
		<guid>http://www.notsostupid.com/blog/2007/10/23/the-embedded-actions-plugin-for-rails/#comment-24422</guid>
					<description>This thing needs to get into the Rails core. Its absurd that they let components suck so much until ripping it out without offering a replacement. People who think using before_filters and partials are a replacement for a real component structure are on crack. 

Thanks for the plugin!</description>
		<content:encoded><![CDATA[<p>This thing needs to get into the Rails core. Its absurd that they let components suck so much until ripping it out without offering a replacement. People who think using before_filters and partials are a replacement for a real component structure are on crack. </p>
<p>Thanks for the plugin!</p>
]]></content:encoded>
				</item>
</channel>
</rss>
