<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog &#124; The Working Group &#187; ruby on rails</title>
	<atom:link href="http://blog.twg.ca/tag/ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.twg.ca</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 18:32:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Meet the Panel of #nerdlearn 1.0:  THE FUTURE OF RAILS</title>
		<link>http://blog.twg.ca/2011/05/meet-the-panel-of-nerdlearn-the-future-of-rails/</link>
		<comments>http://blog.twg.ca/2011/05/meet-the-panel-of-nerdlearn-the-future-of-rails/#comments</comments>
		<pubDate>Wed, 11 May 2011 13:00:22 +0000</pubDate>
		<dc:creator>Andrés</dc:creator>
				<category><![CDATA[#nerdlearn]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[TWG News]]></category>
		<category><![CDATA[TWG Wine]]></category>
		<category><![CDATA[beer]]></category>
		<category><![CDATA[geeks]]></category>
		<category><![CDATA[good people]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://blog.twg.ca/?p=1065</guid>
		<description><![CDATA[On May 19th TWG is hosting, &#8220;Good Developers Drinking Beer and Learning from Each Other&#8221; code named #nerdlearn. Much akin to our Good People Drinking Wine events, #nerdlearn is for local developers looking to connect with some of TO&#8217;s best senior developers in a panel/Q&#38;A format. This inaugural #nerdlearn will focus on THE FUTURE OF [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.twg.ca/2011/05/meet-the-panel-of-nerdlearn-the-future-of-rails/' addthis:title='Meet the Panel of #nerdlearn 1.0: &#60;br /&#62; THE FUTURE OF RAILS ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>On May 19th TWG is hosting, <em>&#8220;Good Developers Drinking Beer and Learning from Each Other&#8221;</em> code named <a title="#nerdlearn on twitter" href="http://twitter.com/#!/search/%23NerdLearn" target="_blank">#nerdlearn</a>. Much akin to our <em>Good People Drinking Wine</em> events, #nerdlearn is for local developers looking to connect with some of TO&#8217;s best senior developers in a panel/Q&amp;A format.</p>
<p>This inaugural #nerdlearn will focus on THE FUTURE OF RAILS (yes, in all caps), but going forward we&#8217;ll choose topics that influence the entire sphere of being an excellent developer.</p>
<p><strong>RSVP here: </strong><a title="#nerdlearn registration" href="http://guestli.st/55083" target="_blank"><strong>http://guestli.st/55083</strong></a></p>
<h3>MEET THE PANELISTS:</h3>
<p>Pete Forde, Unspace:</p>
<p><img class="alignleft size-full wp-image-1116" style="margin-right: 15px; float: left;" title="pete" src="http://blog.twg.ca/wp-content/uploads/2011/05/pete.png" alt="@peteforde" width="166" height="166" />In 2004 Pete founded <a title="Unspace" href="http://unspace.ca" target="_blank">Unspace Interactive</a>. Not long after, he transition from proprietary Microsoft development to becoming one of the first adopters of Ruby on Rails. He was the curator of the RubyFringe and FutureRuby conferences, and hosts the popular monthly “Rails Pub Nite” developer event — of which there has been over 50 to date.</p>
<p>An avid traveler and occasional touring rock drummer, Pete is passionate about music and film photography. He recently co-founded <a title="BuzzData.com" href="http://buzzdata.com/" target="_blank">BuzzData</a>, a data publishing and collaboration hub.</p>
<p>Pete also likes to explore places you&#8217;re not supposed to go:</p>
<div><a href="http://domainride.ca/">http://domainride.ca/</a></div>
<div><a href="http://domainride.ca/"></a><a href="http://www.infiltration.org/journal-shepdonmills.html">http://www.infiltration.org/journal-shepdonmills.html</a></div>
<div><a href="http://www.infiltration.org/journal-shepdonmills.html"></a><img class="size-full wp-image-1115 alignnone" title="p3" src="http://blog.twg.ca/wp-content/uploads/2011/05/p3.jpg" alt="Pete Forde" width="248" height="302" /></div>
<div>You can also find Pete at: <a title="Pete's Twitter Account" href="http://twitter.com/peteforde" target="_blank">twitter.com/peteforde</a> &amp; <a title="Pete's Github Account" href="https://github.com/peteforde" target="_blank">github.com/peteforde</a></div>
<p>&#8212;&#8211;</p>
<p>TWG&#8217;s own, Scott Tadman (<em>brought to you by the number 4)</em>:</p>
<p><img class="alignleft size-full wp-image-1100" style="margin-right: 15px; float: left;" src="http://blog.twg.ca/wp-content/uploads/2011/05/tadmanter.png" alt="@tadmanter" width="166" height="166" />Since 1990, before most of us had even heard of the web, Scott&#8217;s been a database manager, network engineer, system administrator, software developer, creative director, writer, and electrician. So you can bet he&#8217;s involved at every stage of the projects TWG produces.</p>
<p>Scott is TWG&#8217;s Senior Architect; co-founder of <a title="PostageApp - The easier way to send email from your web app" href="http://postageapp.com" target="_blank">PostageApp.com</a>; and 4-time Science Fair Winner when he was a kid (unfortunately no photo available).</p>
<p>He is also the #4 Answerer on <a title="Scott's Stack Overflow Profile" href="http://stackoverflow.com/users/87189/tadman" target="_blank">Stack Overflow</a> for ruby-on-rails so be sure to ask him lots of questions at #nerdlearn &#8211; <a title="Stack Overflow - Ruby on Rails" href="http://stackoverflow.com/tags/ruby-on-rails/topusers" target="_blank">http://stackoverflow.com/tags/ruby-on-rails/topusers</a></p>
<p><img class="size-full wp-image-1106 alignnone" title="4-alltime-stack-overflow" src="http://blog.twg.ca/wp-content/uploads/2011/05/4-alltime-stack-overflow.png" alt="#4 Answerer on Stack Overflow for ruby-on-rails" width="600" height="234" /></p>
<p>You can also find Scott at: <a title="Scott's Twitter Account" href="http://twitter.com/tadmanter" target="_blank">twitter.com/tadmanter</a> &amp; <a title="Scott's Github Account" href="https://github.com/tadman" target="_blank">github.com/tadman</a></p>
<p>&#8212;&#8211;</p>
<p>Kevin Faustino, Nulayer:</p>
<p><img class="alignleft size-full wp-image-1075" style="margin-right: 15px; float: left;" title="kfaustino" src="http://blog.twg.ca/wp-content/uploads/2011/05/kfaustino.png" alt="@kfaustino" width="125" height="125" />Kevin is a passionate programmer and craftsmanship advocate who works at <a title="nulayer.com" href="http://nulayer.com" target="_blank">Nulayer</a> as a Senior Software Developer. He has been professionally developing for 6 years, with the last 3 years focused on Ruby and Ruby on Rails.</p>
<p>When not working, he is organizing the <a title="@torontorb" href="http://www.meetup.com/torontoruby/" target="_blank">Toronto Ruby Brigade</a> and blogging at <a title="Kevin's blog" href="http://adventuresincoding.com/" target="_blank">adventuresincoding.com</a>.</p>
<p>You can also find Kevin at: <a title="Kevin's twitter account" href="http://twitter.com/kfaustino">twitter.com/kfaustino</a> &amp; <a title="Kevin's github account" href="https://github.com/kfaustino" target="_blank">github.com/kfaustino</a></p>
<p>We also suspect that Kevin likes <a title="YouTube summary of LOST in 3mins" href="http://youtu.be/-HWECQa23Cs" target="_blank">Lost</a>:<a href="http://blog.twg.ca/wp-content/uploads/2011/05/kfaustino_LOST-e1304710124151.png"><img class="alignnone size-full wp-image-1066" title="kfaustino_LOST" src="http://blog.twg.ca/wp-content/uploads/2011/05/kfaustino_LOST-e1304710124151.png" alt="LOST DVD Set" width="550" height="600" /></a></p>
<p><strong>Meet Kevin, Scott and Pete on May 19th, 6:30pm at TWG HQ: </strong><strong><a title="#nerdlearn registration" href="http://guestli.st/55083" target="_blank">http://guestli.st/55083</a></strong></p>
<h3>Other upcoming Dev events you might be interested in:</h3>
<p>May 20th: <strong>Ruby Job Fair</strong> at Unspace, featuring Rubyists, Employers, and Spiked Tea &#8211; <a title="Ruby Job Fair" href="http://rubyjobfair.ca/" target="_blank">http://rubyjobfair.ca</a></p>
<p>June 2nd: <strong>Technologic</strong> at UnSpace, featuring Giles Bowkett &#8211; <a title="Technologic" href="http://technologicto.com/" target="_blank">http://technologicto.com</a></p>
<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.twg.ca/2011/05/meet-the-panel-of-nerdlearn-the-future-of-rails/' addthis:title='Meet the Panel of #nerdlearn 1.0: &lt;br /&gt; THE FUTURE OF RAILS ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.twg.ca/2011/05/meet-the-panel-of-nerdlearn-the-future-of-rails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remember Rcov?</title>
		<link>http://blog.twg.ca/2009/12/remember-rcov/</link>
		<comments>http://blog.twg.ca/2009/12/remember-rcov/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 21:31:21 +0000</pubDate>
		<dc:creator>Oleg</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[rake task]]></category>
		<category><![CDATA[rcov]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://blog.twg.ca/?p=429</guid>
		<description><![CDATA[Rcov helps to identify code that is not being being hit by your tests (or maybe some functions left behind after refactoring). It&#8217;s very easy to get it running as well: $ sudo gem install rcov Plug this rake task into /lib/tasks/rcov.rake require 'rcov/rcovtask' namespace :rcov do &#160; desc 'Measures test coverage using rcov' &#160; [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.twg.ca/2009/12/remember-rcov/' addthis:title='Remember Rcov? ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Rcov helps to identify code that is not being being hit by your tests (or maybe some functions left behind after refactoring). It&#8217;s very easy to get it running as well:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ sudo gem install rcov</div></div>
<p>Plug this rake task into /lib/tasks/rcov.rake</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rcov/rcovtask'</span><br />
<br />
namespace <span style="color:#ff3333; font-weight:bold;">:rcov</span> <span style="color:#9966CC; font-weight:bold;">do</span><br />
&nbsp; desc <span style="color:#996600;">'Measures test coverage using rcov'</span><br />
&nbsp; <span style="color:#6666ff; font-weight:bold;">Rcov::RcovTask</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:test</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>rcov<span style="color:#006600; font-weight:bold;">|</span><br />
&nbsp; &nbsp; rcov.<span style="color:#9900CC;">pattern</span> &nbsp; &nbsp;= <span style="color:#006600; font-weight:bold;">%</span>w<span style="color:#006600; font-weight:bold;">&#40;</span>test<span style="color:#006600; font-weight:bold;">/</span>unit<span style="color:#006600; font-weight:bold;">/**/*</span>_test.<span style="color:#9900CC;">rb</span> test<span style="color:#006600; font-weight:bold;">/</span>functional<span style="color:#006600; font-weight:bold;">/**/*</span>_test.<span style="color:#9900CC;">rb</span> test<span style="color:#006600; font-weight:bold;">/</span>integration<span style="color:#006600; font-weight:bold;">/**/*</span>_test.<span style="color:#9900CC;">rb</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
&nbsp; &nbsp; rcov.<span style="color:#9900CC;">output_dir</span> = <span style="color:#996600;">'rcov'</span><br />
&nbsp; &nbsp; rcov.<span style="color:#9900CC;">verbose</span> &nbsp; &nbsp;= <span style="color:#0000FF; font-weight:bold;">true</span><br />
&nbsp; &nbsp; rcov.<span style="color:#9900CC;">rcov_opts</span> <span style="color:#006600; font-weight:bold;">&lt;&lt;</span> <span style="color:#996600;">'--exclude &quot;gems/*&quot;'</span><br />
&nbsp; &nbsp; rcov.<span style="color:#9900CC;">rcov_opts</span> <span style="color:#006600; font-weight:bold;">&lt;&lt;</span> <span style="color:#996600;">'--rails'</span><br />
&nbsp; <span style="color:#9966CC; font-weight:bold;">end</span><br />
<span style="color:#9966CC; font-weight:bold;">end</span></div></div>
<p>And finally run it:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ rake rcov:test</div></div>
<p>It&#8217;s so easy you have no excuse not to have it.</p>
<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.twg.ca/2009/12/remember-rcov/' addthis:title='Remember Rcov? ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.twg.ca/2009/12/remember-rcov/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Active state for link_to == active_link_to. A solution for building navigation systems in Rails.</title>
		<link>http://blog.twg.ca/2009/11/active-state-for-link_to-active_link_to/</link>
		<comments>http://blog.twg.ca/2009/11/active-state-for-link_to-active_link_to/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 18:07:45 +0000</pubDate>
		<dc:creator>Oleg</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[active state]]></category>
		<category><![CDATA[active_link]]></category>
		<category><![CDATA[active_link_to]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://blog.twg.ca/?p=346</guid>
		<description><![CDATA[I have a question for you. How do you deal with the logic of setting links as active in your navs? Actually, I don&#8217;t want to know. It&#8217;s probably awful. I might have a pretty good solution for you. Let&#8217;s take a look at a very simple nav. These examples all use HAML: %ul &#160; [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.twg.ca/2009/11/active-state-for-link_to-active_link_to/' addthis:title='Active state for link_to == active_link_to. A solution for building navigation systems in Rails. ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>I have a question for you. How do you deal with the logic of setting links as active in your navs?</p>
<p>Actually, I don&#8217;t want to know. It&#8217;s probably awful. I might have a pretty good solution for you. Let&#8217;s take a look at a very simple nav. These examples all use <a href="http://haml-lang.com/">HAML</a>:</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#006600; font-weight:bold;">%</span>ul<br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= link_to <span style="color:#996600;">'Home'</span>, home_path<br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= link_to <span style="color:#996600;">'Puppies'</span>, puppies_path<br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= link_to <span style="color:#996600;">'Kittens'</span>, kittens_path<br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= link_to <span style="color:#996600;">'Froggies'</span>, froggies_path</div></div>
<p>Right, that&#8217;s great. But how do I insert logic as to what link gets marked as active? To begin, let&#8217;s quickly install this random gem:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> active_link_to</div></div>
<p>And then change our nav a bit:</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#006600; font-weight:bold;">%</span>ul<br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= active_link_to <span style="color:#996600;">'Home'</span>, home_path<br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= active_link_to <span style="color:#996600;">'Puppies'</span>, puppies_path<br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= active_link_to <span style="color:#996600;">'Kittens'</span>, kittens_path<br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= active_link_to <span style="color:#996600;">'Froggies'</span>, froggies_path</div></div>
<p>And that&#8217;s pretty much it.</p>
<p>So, for example, if you navigate to /kittens/1-my-fluffy-kitten navigation link for &#8216;Kittens&#8217; will have &#8216;active&#8217; class attached to it. It&#8217;s almost like magic.</p>
<p>You probably noticed that &#8216;Home&#8217; is highlighted as well. It happened because whatever URL you are currently on is a child of the home_path. I guess we want to mark it as active only if we find ourselves on the home page and not anywhere else. We can fix this:</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#006600; font-weight:bold;">%</span>ul<br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= active_link_to <span style="color:#996600;">'Home'</span>, home_path, <span style="color:#ff3333; font-weight:bold;">:active</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006600; font-weight:bold;">&#123;</span>:<span style="color:#9966CC; font-weight:bold;">when</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#ff3333; font-weight:bold;">:self_only</span><span style="color:#006600; font-weight:bold;">&#125;</span><br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= active_link_to <span style="color:#996600;">'Puppies'</span>, puppies_path<br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= active_link_to <span style="color:#996600;">'Kittens'</span>, kittens_path<br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= active_link_to <span style="color:#996600;">'Froggies'</span>, froggies_path</div></div>
<p>Hey, wanna render a sub nav when you find yourself browsing /puppies or any page under that URL? It&#8217;s just sooo easy:</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#006600; font-weight:bold;">%</span>ul<br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= active_link_to <span style="color:#996600;">'Home'</span>, home_path, <span style="color:#ff3333; font-weight:bold;">:active</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006600; font-weight:bold;">&#123;</span>:<span style="color:#9966CC; font-weight:bold;">when</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#ff3333; font-weight:bold;">:self_only</span><span style="color:#006600; font-weight:bold;">&#125;</span><br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li<br />
&nbsp; &nbsp; = active_link_to <span style="color:#996600;">'Puppies'</span>, puppies_path<br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">-</span> <span style="color:#9966CC; font-weight:bold;">if</span> is_active_link?<span style="color:#006600; font-weight:bold;">&#40;</span>puppies_path<span style="color:#006600; font-weight:bold;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">%</span>ul<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= active_link_to <span style="color:#996600;">'Big'</span>, big_puppies_path<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= active_link_to <span style="color:#996600;">'Small'</span>, small_puppies_path<br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= active_link_to <span style="color:#996600;">'Kittens'</span>, kittens_path<br />
&nbsp; <span style="color:#006600; font-weight:bold;">%</span>li= active_link_to <span style="color:#996600;">'Froggies'</span>, froggies_path</div></div>
<p>And that&#8217;s the skinny of what active_link_to is for.</p>
<p>For more documentation on more functionality checkout project on GitHub: <a href="http://github.com/theworkinggroup/active_link_to">http://github.com/theworkinggroup/active_link_to</a></p>
<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.twg.ca/2009/11/active-state-for-link_to-active_link_to/' addthis:title='Active state for link_to == active_link_to. A solution for building navigation systems in Rails. ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.twg.ca/2009/11/active-state-for-link_to-active_link_to/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

