<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for Plataforma Tecnologia Blog</title>
	
	<link>http://blog.plataformatec.com.br</link>
	<description>O espaço da Plataforma Tecnologia para falar sobre Ruby, Ruby on Rails e engenharia de software.</description>
	<lastBuildDate>Thu, 11 Mar 2010 17:41:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/PlataformaBlogComments" /><feedburner:info uri="plataformablogcomments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on Show your objects baby! by BillSaysThis</title>
		<link>http://feedproxy.google.com/~r/PlataformaBlogComments/~3/IidbXV4I-8c/</link>
		<dc:creator>BillSaysThis</dc:creator>
		<pubDate>Thu, 11 Mar 2010 17:41:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.plataformatec.com.br/?p=817#comment-542</guid>
		<description>Next issue, again I'm sure I just haven't read the docs closely enough ;)

I want to use a block with the association so I can print something a bit more sophisticated for each item. If I use a helper nothing shows up, even in a very simple case as below nothing shows up (&lt; removed to hopefully print code properly).

	% d.association :people, :label =&gt; 'Staffers', :label_tag =&gt; 'h2' do |person| %&gt;
		li&gt; %= person.full_name %&gt; /li&gt;
	 % end %&gt;</description>
		<content:encoded><![CDATA[<p>Next issue, again I&#8217;m sure I just haven&#8217;t read the docs closely enough <img src='http://blog.plataformatec.com.br/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I want to use a block with the association so I can print something a bit more sophisticated for each item. If I use a helper nothing shows up, even in a very simple case as below nothing shows up (&lt; removed to hopefully print code properly).</p>
<p>	% d.association :people, :label =&gt; &#8216;Staffers&#8217;, :label_tag =&gt; &#8216;h2&#8242; do |person| %&gt;<br />
		li&gt; %= person.full_name %&gt; /li&gt;<br />
	 % end %&gt;</p>
<img src="http://feeds.feedburner.com/~r/PlataformaBlogComments/~4/IidbXV4I-8c" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.plataformatec.com.br/2010/03/show-your-objects-baby/comment-page-1/#comment-542</feedburner:origLink></item>
	<item>
		<title>Comment on Show your objects baby! by BillSaysThis</title>
		<link>http://feedproxy.google.com/~r/PlataformaBlogComments/~3/scwskIe-AGk/</link>
		<dc:creator>BillSaysThis</dc:creator>
		<pubDate>Thu, 11 Mar 2010 16:59:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.plataformatec.com.br/?p=817#comment-541</guid>
		<description>Thanks, the label option wasn't clear to me.</description>
		<content:encoded><![CDATA[<p>Thanks, the label option wasn&#8217;t clear to me.</p>
<img src="http://feeds.feedburner.com/~r/PlataformaBlogComments/~4/scwskIe-AGk" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.plataformatec.com.br/2010/03/show-your-objects-baby/comment-page-1/#comment-541</feedburner:origLink></item>
	<item>
		<title>Comment on Show your objects baby! by José Valim</title>
		<link>http://feedproxy.google.com/~r/PlataformaBlogComments/~3/Bk5VGKqPpWE/</link>
		<dc:creator>José Valim</dc:creator>
		<pubDate>Thu, 11 Mar 2010 16:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.plataformatec.com.br/?p=817#comment-540</guid>
		<description>Bill, I'm almost sure that you can given the :label option:

&lt;%= d.association :people, :using =&gt; :full_name, :label =&gt; "OMG People" %&gt;</description>
		<content:encoded><![CDATA[<p>Bill, I&#8217;m almost sure that you can given the :label option:</p>
<p>&lt;%= d.association :people, :using => :full_name, :label => &#8220;OMG People&#8221; %&gt;</p>
<img src="http://feeds.feedburner.com/~r/PlataformaBlogComments/~4/Bk5VGKqPpWE" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.plataformatec.com.br/2010/03/show-your-objects-baby/comment-page-1/#comment-540</feedburner:origLink></item>
	<item>
		<title>Comment on Show your objects baby! by BillSaysThis</title>
		<link>http://feedproxy.google.com/~r/PlataformaBlogComments/~3/IF7fNm0sVTI/</link>
		<dc:creator>BillSaysThis</dc:creator>
		<pubDate>Thu, 11 Mar 2010 15:54:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.plataformatec.com.br/?p=817#comment-538</guid>
		<description>Ugg, still no good. Here's without the angle bracket:

Sorry, code block above didn't come out correctly, should be:

% = d.association :people, :using =&gt; :full_name %</description>
		<content:encoded><![CDATA[<p>Ugg, still no good. Here&#8217;s without the angle bracket:</p>
<p>Sorry, code block above didn&#8217;t come out correctly, should be:</p>
<p>% = d.association :people, :using =&gt; :full_name %</p>
<img src="http://feeds.feedburner.com/~r/PlataformaBlogComments/~4/IF7fNm0sVTI" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.plataformatec.com.br/2010/03/show-your-objects-baby/comment-page-1/#comment-538</feedburner:origLink></item>
	<item>
		<title>Comment on Show your objects baby! by BillSaysThis</title>
		<link>http://feedproxy.google.com/~r/PlataformaBlogComments/~3/KgySMQK3kZk/</link>
		<dc:creator>BillSaysThis</dc:creator>
		<pubDate>Thu, 11 Mar 2010 15:53:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.plataformatec.com.br/?p=817#comment-537</guid>
		<description>Sorry, code block above didn't come out correctly, should be:

 :full_name %&gt;</description>
		<content:encoded><![CDATA[<p>Sorry, code block above didn&#8217;t come out correctly, should be:</p>
<p> :full_name %&gt;</p>
<img src="http://feeds.feedburner.com/~r/PlataformaBlogComments/~4/KgySMQK3kZk" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.plataformatec.com.br/2010/03/show-your-objects-baby/comment-page-1/#comment-537</feedburner:origLink></item>
	<item>
		<title>Comment on Show your objects baby! by BillSaysThis</title>
		<link>http://feedproxy.google.com/~r/PlataformaBlogComments/~3/nTAoGQR0l0o/</link>
		<dc:creator>BillSaysThis</dc:creator>
		<pubDate>Thu, 11 Mar 2010 15:52:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.plataformatec.com.br/?p=817#comment-536</guid>
		<description>@josevalim I mean if I code, say,  :full_name %&gt; I get a paragraph above the list of people with the word People in bold. I would like a different text to appear in place of People.

Similarly, for specific fields I would like to use a label other than the human version of the field name.</description>
		<content:encoded><![CDATA[<p>@josevalim I mean if I code, say,  :full_name %&gt; I get a paragraph above the list of people with the word People in bold. I would like a different text to appear in place of People.</p>
<p>Similarly, for specific fields I would like to use a label other than the human version of the field name.</p>
<img src="http://feeds.feedburner.com/~r/PlataformaBlogComments/~4/nTAoGQR0l0o" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.plataformatec.com.br/2010/03/show-your-objects-baby/comment-page-1/#comment-536</feedburner:origLink></item>
</channel>
</rss>
