<?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: Plugin: state_select, generate drop down selection box for states</title>
	<atom:link href="http://webonrails.com/2006/09/12/plugin-state_select-generate-drop-down-selection-box-for-states/feed/" rel="self" type="application/rss+xml" />
	<link>http://webonrails.com/2006/09/12/plugin-state_select-generate-drop-down-selection-box-for-states/</link>
	<description>Its all about Ruby On Rails</description>
	<lastBuildDate>Tue, 09 Mar 2010 22:05:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Akhil Bansal</title>
		<link>http://webonrails.com/2006/09/12/plugin-state_select-generate-drop-down-selection-box-for-states/comment-page-1/#comment-1005</link>
		<dc:creator>Akhil Bansal</dc:creator>
		<pubDate>Sat, 10 Jan 2009 17:48:48 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/?p=29#comment-1005</guid>
		<description>Hi Bryan,

I am out of station right now and will look into your problem later.

Thanks for giving my plugin a try.</description>
		<content:encoded><![CDATA[<p>Hi Bryan,</p>
<p>I am out of station right now and will look into your problem later.</p>
<p>Thanks for giving my plugin a try.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://webonrails.com/2006/09/12/plugin-state_select-generate-drop-down-selection-box-for-states/comment-page-1/#comment-1004</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Sat, 10 Jan 2009 05:13:24 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/?p=29#comment-1004</guid>
		<description>Any thoughts on my last question? 

It seems that I might not have the users module and controller set up properly. Like I mentioned, I&#039;m relatively new, so any help would be appreciated.

Thanks.</description>
		<content:encoded><![CDATA[<p>Any thoughts on my last question? </p>
<p>It seems that I might not have the users module and controller set up properly. Like I mentioned, I&#8217;m relatively new, so any help would be appreciated.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://webonrails.com/2006/09/12/plugin-state_select-generate-drop-down-selection-box-for-states/comment-page-1/#comment-994</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Wed, 07 Jan 2009 19:04:23 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/?p=29#comment-994</guid>
		<description>Hi guys. I&#039;m relatively new to Rails, but am loving it so far. I&#039;m having trouble getting this thing to work.  I have it set up and the drop down menu is in place, but I keep getting the message: &quot;State can&#039;t be blank.&quot;

I&#039;m using it in a form like so:


In addition to the validates_presence_of list, I also added this to the module file where it is used:
def state
  state = read_attribute(:state)
end

And this in the controller file:
@user.state = params[:user][:state]

I&#039;m sure I&#039;m just missing something out of ignorance, but any help would be appreciated. Thanks!</description>
		<content:encoded><![CDATA[<p>Hi guys. I&#8217;m relatively new to Rails, but am loving it so far. I&#8217;m having trouble getting this thing to work.  I have it set up and the drop down menu is in place, but I keep getting the message: &#8220;State can&#8217;t be blank.&#8221;</p>
<p>I&#8217;m using it in a form like so:</p>
<p>In addition to the validates_presence_of list, I also added this to the module file where it is used:<br />
def state<br />
  state = read_attribute(:state)<br />
end</p>
<p>And this in the controller file:<br />
@user.state = params[:user][:state]</p>
<p>I&#8217;m sure I&#8217;m just missing something out of ignorance, but any help would be appreciated. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimish</title>
		<link>http://webonrails.com/2006/09/12/plugin-state_select-generate-drop-down-selection-box-for-states/comment-page-1/#comment-933</link>
		<dc:creator>Jimish</dc:creator>
		<pubDate>Sat, 13 Dec 2008 20:45:41 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/?p=29#comment-933</guid>
		<description>Hey Akhil,

Thanks. I was getting Wrong number of arguments error. Now, I understand why that tag helper did not worked in 2.2.2</description>
		<content:encoded><![CDATA[<p>Hey Akhil,</p>
<p>Thanks. I was getting Wrong number of arguments error. Now, I understand why that tag helper did not worked in 2.2.2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akhil Bansal</title>
		<link>http://webonrails.com/2006/09/12/plugin-state_select-generate-drop-down-selection-box-for-states/comment-page-1/#comment-931</link>
		<dc:creator>Akhil Bansal</dc:creator>
		<pubDate>Sat, 13 Dec 2008 16:47:34 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/?p=29#comment-931</guid>
		<description>@Jimish: Install latest version from github</description>
		<content:encoded><![CDATA[<p>@Jimish: Install latest version from github</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimish</title>
		<link>http://webonrails.com/2006/09/12/plugin-state_select-generate-drop-down-selection-box-for-states/comment-page-1/#comment-929</link>
		<dc:creator>Jimish</dc:creator>
		<pubDate>Sat, 13 Dec 2008 07:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/?p=29#comment-929</guid>
		<description>Hello Akhil, 

I ended up using your state_select plugin. Works well. I recently upgraded my gems version to 2.2.2 from 2.1.2. And state_select fails to work there. I downgraded it back to 2.1.2 and it works.

I will be looking for the problem and post the solution, if I find one. But just a heads up, if you are aware about it and can post a quick fix.

Thanks.</description>
		<content:encoded><![CDATA[<p>Hello Akhil, </p>
<p>I ended up using your state_select plugin. Works well. I recently upgraded my gems version to 2.2.2 from 2.1.2. And state_select fails to work there. I downgraded it back to 2.1.2 and it works.</p>
<p>I will be looking for the problem and post the solution, if I find one. But just a heads up, if you are aware about it and can post a quick fix.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rants, Ruby, Rails, PHP, and Linux Notes &#187; Ruby on Rails U.S. State List</title>
		<link>http://webonrails.com/2006/09/12/plugin-state_select-generate-drop-down-selection-box-for-states/comment-page-1/#comment-822</link>
		<dc:creator>Rants, Ruby, Rails, PHP, and Linux Notes &#187; Ruby on Rails U.S. State List</dc:creator>
		<pubDate>Sat, 15 Nov 2008 16:14:31 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/?p=29#comment-822</guid>
		<description>[...] seems some one has collected a list of states in many different countries such as  US, India, Canada, Australia and Spain and people are adding more to [...]</description>
		<content:encoded><![CDATA[<p>[...] seems some one has collected a list of states in many different countries such as  US, India, Canada, Australia and Spain and people are adding more to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atul</title>
		<link>http://webonrails.com/2006/09/12/plugin-state_select-generate-drop-down-selection-box-for-states/comment-page-1/#comment-78</link>
		<dc:creator>atul</dc:creator>
		<pubDate>Fri, 18 Jul 2008 15:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/?p=29#comment-78</guid>
		<description>Thanks Akhil,

This plugin really saved lot of my time.

Atul.</description>
		<content:encoded><![CDATA[<p>Thanks Akhil,</p>
<p>This plugin really saved lot of my time.</p>
<p>Atul.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: juanjo</title>
		<link>http://webonrails.com/2006/09/12/plugin-state_select-generate-drop-down-selection-box-for-states/comment-page-1/#comment-77</link>
		<dc:creator>juanjo</dc:creator>
		<pubDate>Wed, 18 Jun 2008 01:38:42 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/?p=29#comment-77</guid>
		<description>ES_STATES has a typo in Salamanca, correct is:

ES_STATES=[ â€œAlavaâ€, â€œAlbaceteâ€, â€œAlicanteâ€, â€œAlmeriaâ€, â€œAsturiasâ€, â€œAvilaâ€, â€œBadajozâ€, â€œBarcelonaâ€, â€œBurgosâ€, â€œCaceresâ€, â€œCadizâ€, â€œCantrabriaâ€, â€œCastellÃ³nâ€, â€œCeutaâ€, â€œCiudad Realâ€, â€œCordobaâ€, â€œCoruÃ±a, Aâ€, â€œCuencaâ€, â€œGironaâ€, â€œGranadaâ€, â€œGuadalajaraâ€, â€œGuipuzcoaâ€, â€œHuelvaâ€, â€œHuescaâ€, â€œIslas Balearesâ€, â€œJaenâ€,â€LeÃ³nâ€, â€œLleidaâ€, â€œLugoâ€, â€œMadridâ€, â€œMalagaâ€, â€œMelillaâ€, â€œMurciaâ€, â€œNavarraâ€, â€œOurenseâ€, â€œPalenciaâ€, â€œPalmas, Lasâ€, â€œPontevedraâ€, â€œRioja, Laâ€, â€œSalamancaâ€, â€œSanta Cruz de Tenerifeâ€, â€œSegoviaâ€, â€œSevilaâ€, â€œSoriaâ€, â€œTarragonaâ€, â€œTeruelâ€, â€œToledoâ€, â€œValenciaâ€, â€œValladolidâ€, â€œVizcayaâ€, â€œZamoraâ€, â€œZaragozaâ€] unless const_defined?(â€ES_STATESâ€)</description>
		<content:encoded><![CDATA[<p>ES_STATES has a typo in Salamanca, correct is:</p>
<p>ES_STATES=[ â€œAlavaâ€, â€œAlbaceteâ€, â€œAlicanteâ€, â€œAlmeriaâ€, â€œAsturiasâ€, â€œAvilaâ€, â€œBadajozâ€, â€œBarcelonaâ€, â€œBurgosâ€, â€œCaceresâ€, â€œCadizâ€, â€œCantrabriaâ€, â€œCastellÃ³nâ€, â€œCeutaâ€, â€œCiudad Realâ€, â€œCordobaâ€, â€œCoruÃ±a, Aâ€, â€œCuencaâ€, â€œGironaâ€, â€œGranadaâ€, â€œGuadalajaraâ€, â€œGuipuzcoaâ€, â€œHuelvaâ€, â€œHuescaâ€, â€œIslas Balearesâ€, â€œJaenâ€,â€LeÃ³nâ€, â€œLleidaâ€, â€œLugoâ€, â€œMadridâ€, â€œMalagaâ€, â€œMelillaâ€, â€œMurciaâ€, â€œNavarraâ€, â€œOurenseâ€, â€œPalenciaâ€, â€œPalmas, Lasâ€, â€œPontevedraâ€, â€œRioja, Laâ€, â€œSalamancaâ€, â€œSanta Cruz de Tenerifeâ€, â€œSegoviaâ€, â€œSevilaâ€, â€œSoriaâ€, â€œTarragonaâ€, â€œTeruelâ€, â€œToledoâ€, â€œValenciaâ€, â€œValladolidâ€, â€œVizcayaâ€, â€œZamoraâ€, â€œZaragozaâ€] unless const_defined?(â€ES_STATESâ€)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gunnar Wolf</title>
		<link>http://webonrails.com/2006/09/12/plugin-state_select-generate-drop-down-selection-box-for-states/comment-page-1/#comment-76</link>
		<dc:creator>Gunnar Wolf</dc:creator>
		<pubDate>Wed, 23 Apr 2008 18:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://webonrails.com/?p=29#comment-76</guid>
		<description>MEXICO_STATES = [&quot;Aguascalientes&quot;, &quot;Baja California&quot;, &quot;Baja California Sur&quot;, &quot;Campeche&quot;, &quot;Chiapas&quot;, &quot;Chihuahua&quot;, &quot;Coahuila&quot;, &quot;Colima&quot;, &quot;Distrito Federal&quot;, &quot;Durango&quot;, &quot;Guanajuato&quot;, &quot;Guerrero&quot;, &quot;Hidalgo&quot;, &quot;Jalisco&quot;, &quot;MichoacÃ¡n&quot;, &quot;Morelos&quot;, &quot;MÃ©xico&quot;, &quot;Nayarit&quot;, &quot;Nuevo LeÃ³n&quot;, &quot;Oaxaca&quot;, &quot;Puebla&quot;, &quot;QuerÃ©taro&quot;, &quot;Quintana Roo&quot;, &quot;San Luis PotosÃ­&quot;, &quot;Sinaloa&quot;, &quot;Sonora&quot;, &quot;Tabasco&quot;, &quot;Tamaulipas&quot;, &quot;Tlaxcala&quot;, &quot;Veracruz&quot;, &quot;YucatÃ¡n&quot;, &quot;Zacatecas&quot;]</description>
		<content:encoded><![CDATA[<p>MEXICO_STATES = ["Aguascalientes", "Baja California", "Baja California Sur", "Campeche", "Chiapas", "Chihuahua", "Coahuila", "Colima", "Distrito Federal", "Durango", "Guanajuato", "Guerrero", "Hidalgo", "Jalisco", "MichoacÃ¡n", "Morelos", "MÃ©xico", "Nayarit", "Nuevo LeÃ³n", "Oaxaca", "Puebla", "QuerÃ©taro", "Quintana Roo", "San Luis PotosÃ­", "Sinaloa", "Sonora", "Tabasco", "Tamaulipas", "Tlaxcala", "Veracruz", "YucatÃ¡n", "Zacatecas"]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
