<?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"
	>
<channel>
	<title>Comments on: Using AutoComplete with ActiveScaffold forms</title>
	<atom:link href="http://www.anup.info/2009/07/01/using-autocomplete-with-activescaffold-forms/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anup.info/2009/07/01/using-autocomplete-with-activescaffold-forms/</link>
	<description>Ruby on Rails Developer, London</description>
	<pubDate>Mon, 06 Feb 2012 10:15:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Swartz</title>
		<link>http://www.anup.info/2009/07/01/using-autocomplete-with-activescaffold-forms/#comment-74569</link>
		<dc:creator>Swartz</dc:creator>
		<pubDate>Fri, 25 Jun 2010 07:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.anup.info/?p=107#comment-74569</guid>
		<description>After searching through ActiveScaffold group and trying all kinds of ways to get auto_complete to work, I finally found your guide. It was extremely useful.
Thanks a bunch.</description>
		<content:encoded><![CDATA[<p>After searching through ActiveScaffold group and trying all kinds of ways to get auto_complete to work, I finally found your guide. It was extremely useful.<br />
Thanks a bunch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juergen</title>
		<link>http://www.anup.info/2009/07/01/using-autocomplete-with-activescaffold-forms/#comment-67373</link>
		<dc:creator>Juergen</dc:creator>
		<pubDate>Sun, 27 Sep 2009 11:35:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.anup.info/?p=107#comment-67373</guid>
		<description>In order to make this work under Rails 2.3.4 one would need the following route.rb entry:

 map.auto_complete ':controller/:action',
       :requirements =&#62; { :action =&#62; /auto_complete_for_\S+/ },
       :conditions =&#62; { :method =&#62; :get }

Cheers Juergen</description>
		<content:encoded><![CDATA[<p>In order to make this work under Rails 2.3.4 one would need the following route.rb entry:</p>
<p> map.auto_complete &#8216;:controller/:action&#8217;,<br />
       :requirements =&gt; { :action =&gt; /auto_complete_for_\S+/ },<br />
       :conditions =&gt; { :method =&gt; :get }</p>
<p>Cheers Juergen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juergen</title>
		<link>http://www.anup.info/2009/07/01/using-autocomplete-with-activescaffold-forms/#comment-67234</link>
		<dc:creator>Juergen</dc:creator>
		<pubDate>Wed, 23 Sep 2009 08:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.anup.info/?p=107#comment-67234</guid>
		<description>Hi I tried to tailor something similar following your example here and I failed. 
So in order to be sure I created a small test application using rails 2.3.4 and replicated your example here to the letter and I do get the same error. 
Whenever I type something into the country text field I don't get the auto complete functionality. In the log I get this error instead:

Processing CitiesController#show (for 127.0.0.1 at 2009-09-23 10:48:03) [GET]
  Parameters: {"country"=&#62;{"name"=&#62;"Fra"}, "id"=&#62;"auto_complete_for_country_name"}
  City Load (0.3ms)   SELECT * FROM "cities" WHERE ("cities"."id" = 0)

ActiveRecord::RecordNotFound (Couldn't find City with ID=auto_complete_for_country_name):

Here is did type "Fra" which should have resulted in "France" which I had added earlier on.

Would be great i could get this to work.
Cheers Juergen</description>
		<content:encoded><![CDATA[<p>Hi I tried to tailor something similar following your example here and I failed.<br />
So in order to be sure I created a small test application using rails 2.3.4 and replicated your example here to the letter and I do get the same error.<br />
Whenever I type something into the country text field I don&#8217;t get the auto complete functionality. In the log I get this error instead:</p>
<p>Processing CitiesController#show (for 127.0.0.1 at 2009-09-23 10:48:03) [GET]<br />
  Parameters: {&#8221;country&#8221;=&gt;{&#8221;name&#8221;=&gt;&#8221;Fra&#8221;}, &#8220;id&#8221;=&gt;&#8221;auto_complete_for_country_name&#8221;}<br />
  City Load (0.3ms)   SELECT * FROM &#8220;cities&#8221; WHERE (&#8221;cities&#8221;.&#8221;id&#8221; = 0)</p>
<p>ActiveRecord::RecordNotFound (Couldn&#8217;t find City with ID=auto_complete_for_country_name):</p>
<p>Here is did type &#8220;Fra&#8221; which should have resulted in &#8220;France&#8221; which I had added earlier on.</p>
<p>Would be great i could get this to work.<br />
Cheers Juergen</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.335 seconds -->

