<?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_on_steroids</title>
	<atom:link href="http://ariejan.net/2007/06/11/activescaffold-acts_as_taggable_on_steroids/feed/" rel="self" type="application/rss+xml" />
	<link>http://ariejan.net/2007/06/11/activescaffold-acts_as_taggable_on_steroids/</link>
	<description>May The Source Be With You.</description>
	<pubDate>Tue, 06 Jan 2009 23:36:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kristofer</title>
		<link>http://ariejan.net/2007/06/11/activescaffold-acts_as_taggable_on_steroids/comment-page-1/#comment-9132</link>
		<dc:creator>Kristofer</dc:creator>
		<pubDate>Sat, 26 Apr 2008 14:35:44 +0000</pubDate>
		<guid isPermaLink="false">http://beta.ariejan.net/?p=121#comment-9132</guid>
		<description>I do have to say, even after working with Ruby for 9 months, your new_tag_list method made my head hurt trying to figure it out. I wasn't able to - that's why I finally wrote to ask you about it all.</description>
		<content:encoded><![CDATA[<p>I do have to say, even after working with Ruby for 9 months, your new_tag_list method made my head hurt trying to figure it out. I wasn&#8217;t able to - that&#8217;s why I finally wrote to ask you about it all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristofer</title>
		<link>http://ariejan.net/2007/06/11/activescaffold-acts_as_taggable_on_steroids/comment-page-1/#comment-9131</link>
		<dc:creator>Kristofer</dc:creator>
		<pubDate>Sat, 26 Apr 2008 14:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://beta.ariejan.net/?p=121#comment-9131</guid>
		<description>Yep. I took out the before_*_save routines and it works like a champe, even your autocomplete stuff works. Thanks!</description>
		<content:encoded><![CDATA[<p>Yep. I took out the before_*_save routines and it works like a champe, even your autocomplete stuff works. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ariejan de Vroom</title>
		<link>http://ariejan.net/2007/06/11/activescaffold-acts_as_taggable_on_steroids/comment-page-1/#comment-9126</link>
		<dc:creator>Ariejan de Vroom</dc:creator>
		<pubDate>Sat, 26 Apr 2008 07:37:51 +0000</pubDate>
		<guid isPermaLink="false">http://beta.ariejan.net/?p=121#comment-9126</guid>
		<description>@Kristofer: I haven't used this for a while. This probably has to do with acts_as_taggable_on_steroids. I'm not sure you need these helper methods anymore. Did you try using the 'tag_list' property directly? I think that should work now.</description>
		<content:encoded><![CDATA[<p>@Kristofer: I haven&#8217;t used this for a while. This probably has to do with acts_as_taggable_on_steroids. I&#8217;m not sure you need these helper methods anymore. Did you try using the &#8216;tag_list&#8217; property directly? I think that should work now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristofer</title>
		<link>http://ariejan.net/2007/06/11/activescaffold-acts_as_taggable_on_steroids/comment-page-1/#comment-9117</link>
		<dc:creator>Kristofer</dc:creator>
		<pubDate>Fri, 25 Apr 2008 18:31:54 +0000</pubDate>
		<guid isPermaLink="false">http://beta.ariejan.net/?p=121#comment-9117</guid>
		<description>so is there any possibility that this routine from above -
 
def new_tag_list(tag_ids)
    tag_ids.map {&#124;k,h&#124; h['id']}.collect {&#124;i&#124; Tag.find(i)}.map do &#124;tag&#124;
      tag.name.include?(Tag.delimiter) ? "\"#{tag.name}\"" : tag.name
    end.join(Tag.delimiter.ends_with?(" ") ? Tag.delimiter : "#{Tag.delimiter} ")
end

- wouldn't work in ruby 1.86 and rails 2.0.2? Or with acts_as_taggable_on_steroids (as of 30 March 2008)?

It throws a 

NoMethodError (You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.map):
    /app/controllers/recipes_controller.rb:46:in `new_new_tag_list'
    /app/controllers/recipes_controller.rb:29:in `before_create_save'
    /vendor/plugins/active_scaffold/lib/actions/create.rb:75:in `do_create'

when trying to create a new "recipe". the tag table is not empty, I put a couple in by hand...

any ideas?</description>
		<content:encoded><![CDATA[<p>so is there any possibility that this routine from above -</p>
<p>def new_tag_list(tag_ids)<br />
    tag_ids.map {|k,h| h['id']}.collect {|i| Tag.find(i)}.map do |tag|<br />
      tag.name.include?(Tag.delimiter) ? &#8220;\&#8221;#{tag.name}\&#8221;" : tag.name<br />
    end.join(Tag.delimiter.ends_with?(&#8221; &#8220;) ? Tag.delimiter : &#8220;#{Tag.delimiter} &#8220;)<br />
end</p>
<p>- wouldn&#8217;t work in ruby 1.86 and rails 2.0.2? Or with acts_as_taggable_on_steroids (as of 30 March 2008)?</p>
<p>It throws a </p>
<p>NoMethodError (You have a nil object when you didn&#8217;t expect it!<br />
You might have expected an instance of Array.<br />
The error occurred while evaluating nil.map):<br />
    /app/controllers/recipes_controller.rb:46:in `new_new_tag_list&#8217;<br />
    /app/controllers/recipes_controller.rb:29:in `before_create_save&#8217;<br />
    /vendor/plugins/active_scaffold/lib/actions/create.rb:75:in `do_create&#8217;</p>
<p>when trying to create a new &#8220;recipe&#8221;. the tag table is not empty, I put a couple in by hand&#8230;</p>
<p>any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suci</title>
		<link>http://ariejan.net/2007/06/11/activescaffold-acts_as_taggable_on_steroids/comment-page-1/#comment-293</link>
		<dc:creator>suci</dc:creator>
		<pubDate>Sat, 08 Sep 2007 01:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://beta.ariejan.net/?p=121#comment-293</guid>
		<description>i have a question,how to short label in design with activescaffold????</description>
		<content:encoded><![CDATA[<p>i have a question,how to short label in design with activescaffold????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ariejan</title>
		<link>http://ariejan.net/2007/06/11/activescaffold-acts_as_taggable_on_steroids/comment-page-1/#comment-282</link>
		<dc:creator>Ariejan</dc:creator>
		<pubDate>Sun, 01 Jul 2007 16:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://beta.ariejan.net/?p=121#comment-282</guid>
		<description>I've just posted a new article describing a (quite different) solution to this problem.

Read it here: http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just posted a new article describing a (quite different) solution to this problem.</p>
<p>Read it here: <a href="http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/" rel="nofollow" >http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ariejan.net &#187; Blog Archive &#187; ActiveScaffold + acts_as_taggable + Auto Complete</title>
		<link>http://ariejan.net/2007/06/11/activescaffold-acts_as_taggable_on_steroids/comment-page-1/#comment-292</link>
		<dc:creator>Ariejan.net &#187; Blog Archive &#187; ActiveScaffold + acts_as_taggable + Auto Complete</dc:creator>
		<pubDate>Sun, 01 Jul 2007 16:35:32 +0000</pubDate>
		<guid isPermaLink="false">http://beta.ariejan.net/?p=121#comment-292</guid>
		<description>[...] digg_url='http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/'; digg_skin = 'button'; digg_bgcolor = '#FFFFFF'; digg_title = 'ActiveScaffold + acts_as_taggable + Auto Complete'; digg_bodytext = ''; digg_topic = '';    I&#8217;ve talked before on how to use ActiveScaffold with acts_as_taggable_on_steroids. [...]</description>
		<content:encoded><![CDATA[<p>[...] digg_url=&#8217;http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/&#8217;; digg_skin = &#8216;button&#8217;; digg_bgcolor = &#8216;#FFFFFF&#8217;; digg_title = &#8216;ActiveScaffold + acts_as_taggable + Auto Complete&#8217;; digg_bodytext = &#8221;; digg_topic = &#8221;;    I&#8217;ve talked before on how to use ActiveScaffold with acts_as_taggable_on_steroids. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume</title>
		<link>http://ariejan.net/2007/06/11/activescaffold-acts_as_taggable_on_steroids/comment-page-1/#comment-284</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Fri, 29 Jun 2007 13:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://beta.ariejan.net/?p=121#comment-284</guid>
		<description>Hi,

Did you have any success of resolving the tag problem ?
(the problem that you can not add tags)

Thanks
Guillaume</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Did you have any success of resolving the tag problem ?<br />
(the problem that you can not add tags)</p>
<p>Thanks<br />
Guillaume</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume</title>
		<link>http://ariejan.net/2007/06/11/activescaffold-acts_as_taggable_on_steroids/comment-page-1/#comment-291</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Fri, 15 Jun 2007 11:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://beta.ariejan.net/?p=121#comment-291</guid>
		<description>I will... but i guess you ve got more knowledge that me on AS ans RoR...

Good luck for your exams</description>
		<content:encoded><![CDATA[<p>I will&#8230; but i guess you ve got more knowledge that me on AS ans RoR&#8230;</p>
<p>Good luck for your exams</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ariejan</title>
		<link>http://ariejan.net/2007/06/11/activescaffold-acts_as_taggable_on_steroids/comment-page-1/#comment-290</link>
		<dc:creator>Ariejan</dc:creator>
		<pubDate>Fri, 15 Jun 2007 06:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://beta.ariejan.net/?p=121#comment-290</guid>
		<description>Nope, not yet. I'm currently having exams and next tuesday I have to deliver a presentation to get my CS degree.

I'm trying different approaches now, but I think I have found something. Take a look at the _form_association views. That could be very useful.</description>
		<content:encoded><![CDATA[<p>Nope, not yet. I&#8217;m currently having exams and next tuesday I have to deliver a presentation to get my CS degree.</p>
<p>I&#8217;m trying different approaches now, but I think I have found something. Take a look at the _form_association views. That could be very useful.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
