<?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: ActiveScaffold + acts_as_taggable + Auto Complete</title> <atom:link href="http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/feed/" rel="self" type="application/rss+xml" /><link>http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/</link> <description>Code Monkey</description> <lastBuildDate>Thu, 11 Mar 2010 04:50:50 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Ariejan de Vroom</title><link>http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/comment-page-1/#comment-10679</link> <dc:creator>Ariejan de Vroom</dc:creator> <pubDate>Thu, 05 Feb 2009 16:50:55 +0000</pubDate> <guid
isPermaLink="false">http://beta.ariejan.net/?p=135#comment-10679</guid> <description>@Anthony: I think ActiveScaffold is borked in 2.2 anyways. ;-) I&#039;ve been staying well clear of it lately.</description> <content:encoded><![CDATA[<p>@Anthony: I think ActiveScaffold is borked in 2.2 anyways. ;-) I&#8217;ve been staying well clear of it lately.</p> ]]></content:encoded> </item> <item><title>By: Anthony Topper</title><link>http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/comment-page-1/#comment-10678</link> <dc:creator>Anthony Topper</dc:creator> <pubDate>Thu, 05 Feb 2009 15:59:42 +0000</pubDate> <guid
isPermaLink="false">http://beta.ariejan.net/?p=135#comment-10678</guid> <description>Just upgraded to Rails 2.2.2 and the corresponding version of Active Scaffold.  This solution doesn&#039;t appear to be working anymore.</description> <content:encoded><![CDATA[<p>Just upgraded to Rails 2.2.2 and the corresponding version of Active Scaffold.  This solution doesn&#8217;t appear to be working anymore.</p> ]]></content:encoded> </item> <item><title>By: GG Crew</title><link>http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/comment-page-1/#comment-10556</link> <dc:creator>GG Crew</dc:creator> <pubDate>Fri, 04 Jul 2008 00:44:55 +0000</pubDate> <guid
isPermaLink="false">http://beta.ariejan.net/?p=135#comment-10556</guid> <description>The &quot;tokens&quot; piece is exactly what I was looking for!  I am a tad surprised that this hasn&#039;t been incorporated into the auto_complete plugin.Thanks!</description> <content:encoded><![CDATA[<p>The &#8220;tokens&#8221; piece is exactly what I was looking for!  I am a tad surprised that this hasn&#8217;t been incorporated into the auto_complete plugin.</p><p>Thanks!</p> ]]></content:encoded> </item> <item><title>By: Guillaume</title><link>http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/comment-page-1/#comment-2654</link> <dc:creator>Guillaume</dc:creator> <pubDate>Sun, 14 Oct 2007 17:11:40 +0000</pubDate> <guid
isPermaLink="false">http://beta.ariejan.net/?p=135#comment-2654</guid> <description>Hi,I ve got a very nice &quot;bug&quot; using Acts as taggeable and Active Scaffold.. let me explain very fast..I ve got 2 models (categ and souscateg), which all use acts_as_taggeable... these to models are linked together :categ has many souscateg
souscateg belongs_to categIn ActiveScaffold configuration for both model i include the other model..
for example for souscateg controller, i ve :
config.columns = [:tag_list, ****, :categ]..With that, when i edit a tag list, it s the mess, because ActiveScaffold doesn t understand to which tag_list it refers...In log it s possible to find out :ActionView::TemplateError (undefined method `tag_list&#039; for #) on line #6 of app/views/souscateg/_tag_list_form_column.rhtml:(because of the inclusion, tag_list is loaded both for souscateg and categ, and it seems to be a big problem there)If i exclude :categ from ActiveSaccold souscateg controller configuration, it works well.... but unfortunately i need it...Do you have any idea of how to resolve that problem ?
thx a lotGuillaume.</description> <content:encoded><![CDATA[<p>Hi,</p><p>I ve got a very nice &#8220;bug&#8221; using Acts as taggeable and Active Scaffold.. let me explain very fast..</p><p>I ve got 2 models (categ and souscateg), which all use acts_as_taggeable&#8230; these to models are linked together :</p><p>categ has many souscateg<br
/> souscateg belongs_to categ</p><p>In ActiveScaffold configuration for both model i include the other model..<br
/> for example for souscateg controller, i ve :<br
/> config.columns = [:tag_list, ****, :categ]..</p><p>With that, when i edit a tag list, it s the mess, because ActiveScaffold doesn t understand to which tag_list it refers&#8230;</p><p>In log it s possible to find out :</p><p>ActionView::TemplateError (undefined method `tag_list&#8217; for #) on line #6 of app/views/souscateg/_tag_list_form_column.rhtml:</p><p>(because of the inclusion, tag_list is loaded both for souscateg and categ, and it seems to be a big problem there)</p><p>If i exclude :categ from ActiveSaccold souscateg controller configuration, it works well&#8230;. but unfortunately i need it&#8230;</p><p>Do you have any idea of how to resolve that problem ?<br
/> thx a lot</p><p>Guillaume.</p> ]]></content:encoded> </item> <item><title>By: Shannon</title><link>http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/comment-page-1/#comment-483</link> <dc:creator>Shannon</dc:creator> <pubDate>Mon, 24 Sep 2007 19:34:40 +0000</pubDate> <guid
isPermaLink="false">http://beta.ariejan.net/?p=135#comment-483</guid> <description>Nice - This is exactly what I was looking for!I&#039;ll implement this after lunch...:)</description> <content:encoded><![CDATA[<p>Nice &#8211; This is exactly what I was looking for!</p><p>I&#8217;ll implement this after lunch&#8230;</p><p>:)</p> ]]></content:encoded> </item> <item><title>By: Peter</title><link>http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/comment-page-1/#comment-327</link> <dc:creator>Peter</dc:creator> <pubDate>Tue, 04 Sep 2007 02:09:16 +0000</pubDate> <guid
isPermaLink="false">http://beta.ariejan.net/?p=135#comment-327</guid> <description>This is a great tutorial.  My only suggestion would be to change the autocomplete to do the string matching in sql as follows:def autocomplete_tag_list
@tags = Tag.find(
:all,
:order =&gt; &quot;name ASC&quot;
:conditions =&gt; [&quot;name LIKE ?&quot;, &quot;#{params[:record][:tag_list]}%&quot;]
)
render :layout =&gt; false
end</description> <content:encoded><![CDATA[<p>This is a great tutorial.  My only suggestion would be to change the autocomplete to do the string matching in sql as follows:</p><p>def autocomplete_tag_list<br
/> @tags = Tag.find(<br
/> :all,<br
/> :order =&gt; &#8220;name ASC&#8221;<br
/> :conditions =&gt; ["name LIKE ?", "#{params[:record][:tag_list]}%&#8221;]<br
/> )<br
/> render :layout =&gt; false<br
/> end</p> ]]></content:encoded> </item> <item><title>By: Anthony Topper</title><link>http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/comment-page-1/#comment-323</link> <dc:creator>Anthony Topper</dc:creator> <pubDate>Mon, 30 Jul 2007 20:20:51 +0000</pubDate> <guid
isPermaLink="false">http://beta.ariejan.net/?p=135#comment-323</guid> <description>This is nifty.  One, how do we speed it up?  Two, how can we make it behave more like when you tag a page with del.icio.us?</description> <content:encoded><![CDATA[<p>This is nifty.  One, how do we speed it up?  Two, how can we make it behave more like when you tag a page with del.icio.us?</p> ]]></content:encoded> </item> <item><title>By: Guillaume</title><link>http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/comment-page-1/#comment-324</link> <dc:creator>Guillaume</dc:creator> <pubDate>Mon, 02 Jul 2007 21:48:42 +0000</pubDate> <guid
isPermaLink="false">http://beta.ariejan.net/?p=135#comment-324</guid> <description>done :)</description> <content:encoded><![CDATA[<p>done :)</p> ]]></content:encoded> </item> <item><title>By: Ariejan</title><link>http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/comment-page-1/#comment-326</link> <dc:creator>Ariejan</dc:creator> <pubDate>Mon, 02 Jul 2007 10:24:28 +0000</pubDate> <guid
isPermaLink="false">http://beta.ariejan.net/?p=135#comment-326</guid> <description>Well, please digg the story, then. ;) Thanks.</description> <content:encoded><![CDATA[<p>Well, please digg the story, then. ;) Thanks.</p> ]]></content:encoded> </item> <item><title>By: Guillaume</title><link>http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/comment-page-1/#comment-325</link> <dc:creator>Guillaume</dc:creator> <pubDate>Mon, 02 Jul 2007 08:08:43 +0000</pubDate> <guid
isPermaLink="false">http://beta.ariejan.net/?p=135#comment-325</guid> <description>It seems to work great, thanks for that work !</description> <content:encoded><![CDATA[<p>It seems to work great, thanks for that work !</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached (user agent is rejected)

Served from: starbuck.ariejan.net @ 2010-03-15 20:39:09 -->