<?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: TabsOnRails graduated from beta</title>
	<atom:link href="http://www.simonecarletti.com/blog/2009/10/tabsonrails-graduated-from-beta/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simonecarletti.com/blog/2009/10/tabsonrails-graduated-from-beta/</link>
	<description>Simone Carletti&#039;s personal ramblings on programming, syndication, search engines &#38; marketing.</description>
	<lastBuildDate>Thu, 09 Feb 2012 14:24:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Simone Carletti</title>
		<link>http://www.simonecarletti.com/blog/2009/10/tabsonrails-graduated-from-beta/#comment-9296</link>
		<dc:creator>Simone Carletti</dc:creator>
		<pubDate>Wed, 03 Mar 2010 07:44:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonecarletti.com/blog/?p=693#comment-9296</guid>
		<description>Christian,
what you need is a client-side JavaScript effect. Have a look at http://docs.jquery.com/UI/Tabs</description>
		<content:encoded><![CDATA[<p>Christian,<br />
what you need is a client-side JavaScript effect. Have a look at <a href="http://docs.jquery.com/UI/Tabs" rel="nofollow">http://docs.jquery.com/UI/Tabs</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://www.simonecarletti.com/blog/2009/10/tabsonrails-graduated-from-beta/#comment-9294</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Wed, 03 Mar 2010 06:42:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonecarletti.com/blog/?p=693#comment-9294</guid>
		<description>I was wondering if you have any recommendations for implementing dynamic loading with this? I am attempting to use it to load different tabs of text within a page. We have most of it working but it re loads the page when you click on a different tab. Would this be something we implement within a tabbuilder?

Thanks and grand work!</description>
		<content:encoded><![CDATA[<p>I was wondering if you have any recommendations for implementing dynamic loading with this? I am attempting to use it to load different tabs of text within a page. We have most of it working but it re loads the page when you click on a different tab. Would this be something we implement within a tabbuilder?</p>
<p>Thanks and grand work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simone Carletti</title>
		<link>http://www.simonecarletti.com/blog/2009/10/tabsonrails-graduated-from-beta/#comment-5887</link>
		<dc:creator>Simone Carletti</dc:creator>
		<pubDate>Wed, 11 Nov 2009 14:58:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonecarletti.com/blog/?p=693#comment-5887</guid>
		<description>&lt;pre&gt;
def open_tabs(*args)
end
&lt;/pre&gt;

or

&lt;pre&gt;
def open_tabs(options)
end
&lt;/pre&gt;

&lt;code&gt;open_tabs&lt;/code&gt; requires one parameter in the method definition.</description>
		<content:encoded><![CDATA[<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">def open_tabs(*args)<br />
end</div></td></tr></tbody></table></div>
<p>or</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">def open_tabs(options)<br />
end</div></td></tr></tbody></table></div>
<p><code>open_tabs</code> requires one parameter in the method definition.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan B</title>
		<link>http://www.simonecarletti.com/blog/2009/10/tabsonrails-graduated-from-beta/#comment-5886</link>
		<dc:creator>Ryan B</dc:creator>
		<pubDate>Wed, 11 Nov 2009 14:53:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonecarletti.com/blog/?p=693#comment-5886</guid>
		<description>there should have been a ul tag in side the single quotes, but must have gotten stripped</description>
		<content:encoded><![CDATA[<p>there should have been a ul tag in side the single quotes, but must have gotten stripped</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan B</title>
		<link>http://www.simonecarletti.com/blog/2009/10/tabsonrails-graduated-from-beta/#comment-5885</link>
		<dc:creator>Ryan B</dc:creator>
		<pubDate>Wed, 11 Nov 2009 14:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonecarletti.com/blog/?p=693#comment-5885</guid>
		<description>Got the custom builder to work, but when I overwrite open_tabs or close_tabs I get

&lt;code&gt;
wrong number of arguments (1 for 0)
&lt;/code&gt;

I am just mimicking the default 
&lt;code&gt;
def open_tabs
  &#039;&#039;
end
&lt;/code&gt;

accompanying backtrace
&lt;code&gt;
/opt/local/lib/ruby/gems/1.8/gems/tabs_on_rails-1.0.0/lib/tabs_on_rails/tabs.rb:32:in `open_tabs&#039;
/opt/local/lib/ruby/gems/1.8/gems/tabs_on_rails-1.0.0/lib/tabs_on_rails/tabs.rb:32:in `send&#039;
/opt/local/lib/ruby/gems/1.8/gems/tabs_on_rails-1.0.0/lib/tabs_on_rails/tabs.rb:32:in `open_tabs&#039;
/opt/local/lib/ruby/gems/1.8/gems/tabs_on_rails-1.0.0/lib/tabs_on_rails/controller_mixin.rb:124:in `tabs_tag&#039;
/Users/Ryan/Sites/Rails/perstrat/app/views/layouts/admin/projects.html.erb:28:in `_run_erb_app47views47layouts47admin47projects46html46erb&#039;
/Users/Ryan/Sites/Rails/perstrat/app/controllers/admin/shops_controller.rb:8:in `index&#039;
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Got the custom builder to work, but when I overwrite open_tabs or close_tabs I get</p>
<p><code><br />
wrong number of arguments (1 for 0)<br />
</code></p>
<p>I am just mimicking the default<br />
<code><br />
def open_tabs<br />
  ''<br />
end<br />
</code></p>
<p>accompanying backtrace<br />
<code><br />
/opt/local/lib/ruby/gems/1.8/gems/tabs_on_rails-1.0.0/lib/tabs_on_rails/tabs.rb:32:in `open_tabs'<br />
/opt/local/lib/ruby/gems/1.8/gems/tabs_on_rails-1.0.0/lib/tabs_on_rails/tabs.rb:32:in `send'<br />
/opt/local/lib/ruby/gems/1.8/gems/tabs_on_rails-1.0.0/lib/tabs_on_rails/tabs.rb:32:in `open_tabs'<br />
/opt/local/lib/ruby/gems/1.8/gems/tabs_on_rails-1.0.0/lib/tabs_on_rails/controller_mixin.rb:124:in `tabs_tag'<br />
/Users/Ryan/Sites/Rails/perstrat/app/views/layouts/admin/projects.html.erb:28:in `_run_erb_app47views47layouts47admin47projects46html46erb'<br />
/Users/Ryan/Sites/Rails/perstrat/app/controllers/admin/shops_controller.rb:8:in `index'<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan B</title>
		<link>http://www.simonecarletti.com/blog/2009/10/tabsonrails-graduated-from-beta/#comment-5865</link>
		<dc:creator>Ryan B</dc:creator>
		<pubDate>Wed, 11 Nov 2009 02:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonecarletti.com/blog/?p=693#comment-5865</guid>
		<description>awesome thanks so much</description>
		<content:encoded><![CDATA[<p>awesome thanks so much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simone Carletti</title>
		<link>http://www.simonecarletti.com/blog/2009/10/tabsonrails-graduated-from-beta/#comment-5859</link>
		<dc:creator>Simone Carletti</dc:creator>
		<pubDate>Tue, 10 Nov 2009 21:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonecarletti.com/blog/?p=693#comment-5859</guid>
		<description>If you declared the class inside an helper module, you need to pass the full qualified path.

&lt;pre&gt;
tabs_tag :builder =&gt; PostHelpers::MyBuilder
&lt;/pre&gt;

Otherwise, you probably declared the class elsewhere and you forgot to include the library in your Rails environment.

I recommend to define the custom builder in the helper file. If it is a global builder, use the ApplicationHelper module, otherwise a specific helper is just fine.

The you can either pass the full qualified class path including namespaced as shown before, or you can creare a custom helper within the helper module and extend the tabs_tag.

&lt;pre&gt;
module ApplicationHelper

  class MyBuilder
    # ...
  end

  def my_tabs_tag(options = {})
    tabs_tag(options.merge(:builder =&gt; MyBuilder))
  end

end
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>If you declared the class inside an helper module, you need to pass the full qualified path.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">tabs_tag :builder =&gt; PostHelpers::MyBuilder</div></td></tr></tbody></table></div>
<p>Otherwise, you probably declared the class elsewhere and you forgot to include the library in your Rails environment.</p>
<p>I recommend to define the custom builder in the helper file. If it is a global builder, use the ApplicationHelper module, otherwise a specific helper is just fine.</p>
<p>The you can either pass the full qualified class path including namespaced as shown before, or you can creare a custom helper within the helper module and extend the tabs_tag.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">module ApplicationHelper<br />
<br />
&nbsp; class MyBuilder<br />
&nbsp; &nbsp; # ...<br />
&nbsp; end<br />
<br />
&nbsp; def my_tabs_tag(options = {})<br />
&nbsp; &nbsp; tabs_tag(options.merge(:builder =&gt; MyBuilder))<br />
&nbsp; end<br />
<br />
end</div></td></tr></tbody></table></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan B</title>
		<link>http://www.simonecarletti.com/blog/2009/10/tabsonrails-graduated-from-beta/#comment-5857</link>
		<dc:creator>Ryan B</dc:creator>
		<pubDate>Tue, 10 Nov 2009 21:18:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonecarletti.com/blog/?p=693#comment-5857</guid>
		<description>I am having some trouble trying to get the custom builder to work.  Where do you recommend actually storing the custom builder in the rails project?  I keep getting this error
&lt;code&gt;
uninitialized constant ActionView::Base::CompiledTemplates::MenuTabBuilder
&lt;/code&gt;

when i try to feed the custom builder class to the tabs_tag.</description>
		<content:encoded><![CDATA[<p>I am having some trouble trying to get the custom builder to work.  Where do you recommend actually storing the custom builder in the rails project?  I keep getting this error<br />
<code><br />
uninitialized constant ActionView::Base::CompiledTemplates::MenuTabBuilder<br />
</code></p>
<p>when i try to feed the custom builder class to the tabs_tag.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

