<?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: Quick Tip: has_many :through =&gt; checkboxes</title>
	<atom:link href="http://millarian.com/programming/ruby-on-rails/quick-tip-has_many-through-checkboxes/feed/" rel="self" type="application/rss+xml" />
	<link>http://millarian.com/programming/ruby-on-rails/quick-tip-has_many-through-checkboxes/</link>
	<description>Musings of a startup junkie and Ruby on Rails nerd.</description>
	<lastBuildDate>Sun, 08 Jan 2012 22:21:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dmitry</title>
		<link>http://millarian.com/programming/ruby-on-rails/quick-tip-has_many-through-checkboxes/comment-page-1/#comment-1000</link>
		<dc:creator>Dmitry</dc:creator>
		<pubDate>Sun, 04 Sep 2011 02:09:05 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>Great tutorial! </description>
		<content:encoded><![CDATA[<p>Great tutorial!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: trbartel</title>
		<link>http://millarian.com/programming/ruby-on-rails/quick-tip-has_many-through-checkboxes/comment-page-1/#comment-998</link>
		<dc:creator>trbartel</dc:creator>
		<pubDate>Thu, 01 Sep 2011 15:16:35 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>Thanks, I&#039;m much closer...But, what if your user and your group both belonged an overall Union model...say Union has many users and Union has many groups...Right now I&#039;m getting all the checkboxes and groups for the whole app, instead of just one Union? </description>
		<content:encoded><![CDATA[<p>Thanks, I&#039;m much closer&#8230;But, what if your user and your group both belonged an overall Union model&#8230;say Union has many users and Union has many groups&#8230;Right now I&#039;m getting all the checkboxes and groups for the whole app, instead of just one Union?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://millarian.com/programming/ruby-on-rails/quick-tip-has_many-through-checkboxes/comment-page-1/#comment-994</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 20 Jul 2011 18:30:10 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>Thank you for sharing this tip.  Nice solution.  Saved me a lot of time. </description>
		<content:encoded><![CDATA[<p>Thank you for sharing this tip.  Nice solution.  Saved me a lot of time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Efr&#233;n Fuentes</title>
		<link>http://millarian.com/programming/ruby-on-rails/quick-tip-has_many-through-checkboxes/comment-page-1/#comment-983</link>
		<dc:creator>Efr&#233;n Fuentes</dc:creator>
		<pubDate>Sat, 04 Jun 2011 19:30:17 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>You need put this: 
 
attr_accesible :group_ids  
 
On user.rb to avoid WARNING: Can&#039;t mass-assign protected attributes: group_ids </description>
		<content:encoded><![CDATA[<p>You need put this: </p>
<p>attr_accesible :group_ids  </p>
<p>On user.rb to avoid WARNING: Can&#039;t mass-assign protected attributes: group_ids</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MrShoop</title>
		<link>http://millarian.com/programming/ruby-on-rails/quick-tip-has_many-through-checkboxes/comment-page-1/#comment-982</link>
		<dc:creator>MrShoop</dc:creator>
		<pubDate>Mon, 23 May 2011 00:29:40 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>Thanks for this great post; it really helped me in getting this set up. I&#039;m not sure I would have ever figured out how it worked without your description (I would have done a lot of extra manual handling).  </description>
		<content:encoded><![CDATA[<p>Thanks for this great post; it really helped me in getting this set up. I&#039;m not sure I would have ever figured out how it worked without your description (I would have done a lot of extra manual handling).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Max Wood</title>
		<link>http://millarian.com/programming/ruby-on-rails/quick-tip-has_many-through-checkboxes/comment-page-1/#comment-978</link>
		<dc:creator>Charles Max Wood</dc:creator>
		<pubDate>Wed, 27 Apr 2011 19:58:02 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>Quick note on the labels. If you want to get the labels to work, set :id =&gt; &quot;group_check_#{group.id}&quot; on your checkbox and label_tag &quot;group_check_#{group.id}&quot;, group.name for your lables. </description>
		<content:encoded><![CDATA[<p>Quick note on the labels. If you want to get the labels to work, set :id =&gt; &quot;group_check_#{group.id}&quot; on your checkbox and label_tag &quot;group_check_#{group.id}&quot;, group.name for your lables.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno Freitas</title>
		<link>http://millarian.com/programming/ruby-on-rails/quick-tip-has_many-through-checkboxes/comment-page-1/#comment-968</link>
		<dc:creator>Bruno Freitas</dc:creator>
		<pubDate>Tue, 22 Feb 2011 18:40:59 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>Great content. 
 
Thanks! </description>
		<content:encoded><![CDATA[<p>Great content. </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hesham</title>
		<link>http://millarian.com/programming/ruby-on-rails/quick-tip-has_many-through-checkboxes/comment-page-1/#comment-965</link>
		<dc:creator>Hesham</dc:creator>
		<pubDate>Fri, 04 Feb 2011 21:20:47 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>Thank you, you saved me hours of research </description>
		<content:encoded><![CDATA[<p>Thank you, you saved me hours of research</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cflannagan</title>
		<link>http://millarian.com/programming/ruby-on-rails/quick-tip-has_many-through-checkboxes/comment-page-1/#comment-953</link>
		<dc:creator>cflannagan</dc:creator>
		<pubDate>Wed, 15 Dec 2010 18:31:39 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>re: Meme&#039;s comment 
 
Actually I think Archie is correct about putting it in &quot;update&quot; action. 
 
I tried putting it in &quot;edit&quot; and all it does is empty out the checkboxes upon reaching the edit view, leading me to think that line is meant to be processed AFTER the edit data is submitted (which makes more sense when I read that line).  
 
I moved it into &quot;update&quot; action and everything is behaving correctly now. I had no need to modify either &quot;create&quot; or &quot;new&quot; actions.  </description>
		<content:encoded><![CDATA[<p>re: Meme&#039;s comment </p>
<p>Actually I think Archie is correct about putting it in &quot;update&quot; action. </p>
<p>I tried putting it in &quot;edit&quot; and all it does is empty out the checkboxes upon reaching the edit view, leading me to think that line is meant to be processed AFTER the edit data is submitted (which makes more sense when I read that line).  </p>
<p>I moved it into &quot;update&quot; action and everything is behaving correctly now. I had no need to modify either &quot;create&quot; or &quot;new&quot; actions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: meme</title>
		<link>http://millarian.com/programming/ruby-on-rails/quick-tip-has_many-through-checkboxes/comment-page-1/#comment-928</link>
		<dc:creator>meme</dc:creator>
		<pubDate>Mon, 18 Oct 2010 15:06:50 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>Awesome and thans 
 
As for Archie, 
 
You have to place  that  in &quot;new&quot; and &quot;edit&quot; controller  
 </description>
		<content:encoded><![CDATA[<p>Awesome and thans </p>
<p>As for Archie, </p>
<p>You have to place  that  in &quot;new&quot; and &quot;edit&quot; controller</p>
]]></content:encoded>
	</item>
</channel>
</rss>

