<?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>Pivotal Labs &#187; Austin Vance</title>
	<atom:link href="http://pivotallabs.com/author/avance/feed/" rel="self" type="application/rss+xml" />
	<link>http://pivotallabs.com</link>
	<description>Agility Developed</description>
	<lastBuildDate>Wed, 19 Jun 2013 00:57:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>[Standup][Boulder] 9/11/2012: I&#8217;m sick with your Errors</title>
		<link>http://pivotallabs.com/standup-boulder-9-11-2012-i-m-sick-with-your-errors/</link>
		<comments>http://pivotallabs.com/standup-boulder-9-11-2012-i-m-sick-with-your-errors/#comments</comments>
		<pubDate>Tue, 11 Sep 2012 15:03:00 +0000</pubDate>
		<dc:creator>Austin Vance</dc:creator>
				<category><![CDATA[Labs]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-boulder-9-11-2012-i-m-sick-with-your-errors/</guid>
		<description><![CDATA[<p><h2>Interesting</h2>

<ul>
<li><a href="http://apidock.com/rails/ActiveRecord/Base/clone">ActiveRecord::Base#clone</a> and <a href="http://apidock.com/rails/v3.2.8/ActiveRecord/Base/dup">ActiveRecord::Base#dup</a> will hold reference to the same <a href="http://api.rubyonrails.org/classes/ActiveModel/Errors.html">ActiveModel::Errors</a>. This will create situations where running valid on one record will add errors to both.</li>
</ul>

<pre>
class Dog &#60; ActiveRecord::Base
  validates_presence_of :ball
end

fido = Dog.new
fido.valid?

rex = fido.dup
rex.ball = &#34;tennis&#34;
fido.valid?

fido.errors.empty? == false
</pre>

<h2>Events</h2>

<p>Ruby Group Tonight @ 6:30</p> <a href="http://pivotallabs.com/standup-boulder-9-11-2012-i-m-sick-with-your-errors/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-boulder-9-11-2012-i-m-sick-with-your-errors/">[Standup][Boulder] 9/11/2012: I&#8217;m sick with your Errors</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Interesting</h2>
<ul>
<li><a href="http://apidock.com/rails/ActiveRecord/Base/clone">ActiveRecord::Base#clone</a> and <a href="http://apidock.com/rails/v3.2.8/ActiveRecord/Base/dup">ActiveRecord::Base#dup</a> will hold reference to the same <a href="http://api.rubyonrails.org/classes/ActiveModel/Errors.html">ActiveModel::Errors</a>. This will create situations where running valid on one record will add errors to both.</li>
</ul>
<pre>
class Dog &lt; ActiveRecord::Base
  validates_presence_of :ball
end

fido = Dog.new
fido.valid?

rex = fido.dup
rex.ball = &quot;tennis&quot;
fido.valid?

fido.errors.empty? == false
</pre>
<h2>Events</h2>
<p>Ruby Group Tonight @ 6:30</p>
<p>The post <a href="http://pivotallabs.com/standup-boulder-9-11-2012-i-m-sick-with-your-errors/">[Standup][Boulder] 9/11/2012: I&#8217;m sick with your Errors</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-boulder-9-11-2012-i-m-sick-with-your-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Standup][Boulder] 9/10/2012: Net::Http left me hangin&#8217;</title>
		<link>http://pivotallabs.com/standup-boulder-9-10-2012-net-http-left-me-hangin/</link>
		<comments>http://pivotallabs.com/standup-boulder-9-10-2012-net-http-left-me-hangin/#comments</comments>
		<pubDate>Mon, 10 Sep 2012 12:32:00 +0000</pubDate>
		<dc:creator>Austin Vance</dc:creator>
				<category><![CDATA[Standup]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-boulder-9-10-2012-net-http-left-me-hangin/</guid>
		<description><![CDATA[<p><h2>Interesting</h2>

<ul>
<li><p>If you would like to return a value from an ensure block you must explicitly return it</p></li>
<li><p><a href="http://ruby-doc.org/stdlib-1.9.3/libdoc/net/http/rdoc/Net/HTTP.html#method-i-request">Net::Http#request</a> does not leave a tcp connection open unless one is already started before calling request.</p></li>
<li><p>To make a <code>BigInt</code> in with a migration &#40;at least with postgres&#41; use <code>limit: 8</code>, anything higher will be ignored and a regular <code>Int</code> will be created</p></li>
<li><p>To make a <code>BigInt</code> in with a migration &#40;at least with postgres&#41; use <code>limit: 8</code>, anything higher will be ignored and a regular <code>Int</code> will be created</p></li>
</ul>

<h2>Events</h2>

<ul>
<li>Boulder Ruby Group @ Pivotal Boulder: tomorrow 7pm</li>
</ul> <a href="http://pivotallabs.com/standup-boulder-9-10-2012-net-http-left-me-hangin/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-boulder-9-10-2012-net-http-left-me-hangin/">[Standup][Boulder] 9/10/2012: Net::Http left me hangin&#8217;</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Interesting</h2>
<ul>
<li>
<p>If you would like to return a value from an ensure block you must explicitly return it</p>
</li>
<li>
<p><a href="http://ruby-doc.org/stdlib-1.9.3/libdoc/net/http/rdoc/Net/HTTP.html#method-i-request">Net::Http#request</a> does not leave a tcp connection open unless one is already started before calling request.</p>
</li>
<li>
<p>To make a <code>BigInt</code> in with a migration &#40;at least with postgres&#41; use <code>limit: 8</code>, anything higher will be ignored and a regular <code>Int</code> will be created</p>
</li>
<li>
<p>To make a <code>BigInt</code> in with a migration &#40;at least with postgres&#41; use <code>limit: 8</code>, anything higher will be ignored and a regular <code>Int</code> will be created</p>
</li>
</ul>
<h2>Events</h2>
<ul>
<li>Boulder Ruby Group @ Pivotal Boulder: tomorrow 7pm</li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-boulder-9-10-2012-net-http-left-me-hangin/">[Standup][Boulder] 9/10/2012: Net::Http left me hangin&#8217;</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-boulder-9-10-2012-net-http-left-me-hangin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Standup][Boulder] 09/06/2012: If nothings going on call me.</title>
		<link>http://pivotallabs.com/standup-boulder-09-06-2012-if-nothings-going-on-call-me/</link>
		<comments>http://pivotallabs.com/standup-boulder-09-06-2012-if-nothings-going-on-call-me/#comments</comments>
		<pubDate>Thu, 06 Sep 2012 19:49:00 +0000</pubDate>
		<dc:creator>Austin Vance</dc:creator>
				<category><![CDATA[Labs]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-boulder-09-06-2012-if-nothings-going-on-call-me/</guid>
		<description><![CDATA[<p><h2>Interesting</h2>

<ul>
<li><p><code>action_dispatch.show_exceptions = true</code> will show exceptions in test.log for server exceptions with capybara.</p></li>
<li><p>Don't stub object under test... it is normally bad.</p></li>
<li><p><a href="http://ruby-doc.org/core-1.9.3/Enumerable.html#method-i-detect">Enumerable#Detect</a> will take a proc/lambda and call it if nothing is found.  The same is true for <a href="http://ruby-doc.org/core-1.9.3/Enumerable.html#method-i-detect">Enumerable#find</a>.</p></li>
</ul>

<h2>Events</h2>

<ul>
<li>Ruby group meet up next Tuesday.</li>
</ul> <a href="http://pivotallabs.com/standup-boulder-09-06-2012-if-nothings-going-on-call-me/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-boulder-09-06-2012-if-nothings-going-on-call-me/">[Standup][Boulder] 09/06/2012: If nothings going on call me.</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Interesting</h2>
<ul>
<li>
<p><code>action_dispatch.show_exceptions = true</code> will show exceptions in test.log for server exceptions with capybara.</p>
</li>
<li>
<p>Don&#8217;t stub object under test&#8230; it is normally bad.</p>
</li>
<li>
<p><a href="http://ruby-doc.org/core-1.9.3/Enumerable.html#method-i-detect">Enumerable#Detect</a> will take a proc/lambda and call it if nothing is found.  The same is true for <a href="http://ruby-doc.org/core-1.9.3/Enumerable.html#method-i-detect">Enumerable#find</a>.</p>
</li>
</ul>
<h2>Events</h2>
<ul>
<li>Ruby group meet up next Tuesday.</li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-boulder-09-06-2012-if-nothings-going-on-call-me/">[Standup][Boulder] 09/06/2012: If nothings going on call me.</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-boulder-09-06-2012-if-nothings-going-on-call-me/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[Standup][Boulder] 9/5/12 &#8211; Don&#8217;t judge before you typecast</title>
		<link>http://pivotallabs.com/standup-boulder-9-5-12-don-t-judge-before-you-typecast/</link>
		<comments>http://pivotallabs.com/standup-boulder-9-5-12-don-t-judge-before-you-typecast/#comments</comments>
		<pubDate>Wed, 05 Sep 2012 16:46:00 +0000</pubDate>
		<dc:creator>Austin Vance</dc:creator>
				<category><![CDATA[Labs]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-boulder-9-5-12-don-t-judge-before-you-typecast/</guid>
		<description><![CDATA[<p><h2>Helps</h2>

<ul>
<li>What is the fastest way to use a calculated column in a where clause with postgres?</li>
</ul>

<pre>
SELECT &#40;column1 + column2&#41; AS super_column WHERE super_column &#62; 1
</pre>

<blockquote>
    <p>Solutions:</p>

    <ul>
    <li>use a sub query in the FROM</li>
    <li>duplicate the logic for the calculated column</li>
    </ul>
</blockquote>

<h2>Like Woah</h2>

<ul>
<li><a href="http://api.rubyonrails.org/classes/ActiveRecord/AttributeMethods/BeforeTypeCast.html">_before_type_cast</a> lets you get to attributes of a model before they are type cast, useful for validations and calculations.</li>
</ul> <a href="http://pivotallabs.com/standup-boulder-9-5-12-don-t-judge-before-you-typecast/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-boulder-9-5-12-don-t-judge-before-you-typecast/">[Standup][Boulder] 9/5/12 &#8211; Don&#8217;t judge before you typecast</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Helps</h2>
<ul>
<li>What is the fastest way to use a calculated column in a where clause with postgres?</li>
</ul>
<pre>
SELECT &#40;column1 + column2&#41; AS super_column WHERE super_column &gt; 1
</pre>
<blockquote>
<p>Solutions:</p>
<ul>
<li>use a sub query in the FROM</li>
<li>duplicate the logic for the calculated column</li>
</ul>
</blockquote>
<h2>Like Woah</h2>
<ul>
<li><a href="http://api.rubyonrails.org/classes/ActiveRecord/AttributeMethods/BeforeTypeCast.html">_before_type_cast</a> lets you get to attributes of a model before they are type cast, useful for validations and calculations.</li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-boulder-9-5-12-don-t-judge-before-you-typecast/">[Standup][Boulder] 9/5/12 &#8211; Don&#8217;t judge before you typecast</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-boulder-9-5-12-don-t-judge-before-you-typecast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Standup][Boulder] 8/21/12: Keep your brews fresh.</title>
		<link>http://pivotallabs.com/standup-boulder-8-21-12-keep-your-brews-fresh/</link>
		<comments>http://pivotallabs.com/standup-boulder-8-21-12-keep-your-brews-fresh/#comments</comments>
		<pubDate>Tue, 28 Aug 2012 14:41:00 +0000</pubDate>
		<dc:creator>Austin Vance</dc:creator>
				<category><![CDATA[Labs]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-boulder-8-21-12-keep-your-brews-fresh/</guid>
		<description><![CDATA[<p><h2>Helps</h2>

<ul>
<li>Installing postgres modules... We would like to use pg_trgrm and are looking for pointers and pain points installing pg_modules on dev and production systems.  Anything will help.</li>
</ul>

<h2>Interestings</h2>

<ul>
<li>Remember to update your <a href="http://mxcl.github.com/homebrew/">homebrew</a> <a href="https://github.com/mxcl/homebrew/wiki/FAQ"><code>brew update</code></a> to get new packages</li>
</ul> <a href="http://pivotallabs.com/standup-boulder-8-21-12-keep-your-brews-fresh/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-boulder-8-21-12-keep-your-brews-fresh/">[Standup][Boulder] 8/21/12: Keep your brews fresh.</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Helps</h2>
<ul>
<li>Installing postgres modules&#8230; We would like to use pg_trgrm and are looking for pointers and pain points installing pg_modules on dev and production systems.  Anything will help.</li>
</ul>
<h2>Interestings</h2>
<ul>
<li>Remember to update your <a href="http://mxcl.github.com/homebrew/">homebrew</a> <a href="https://github.com/mxcl/homebrew/wiki/FAQ"><code>brew update</code></a> to get new packages</li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-boulder-8-21-12-keep-your-brews-fresh/">[Standup][Boulder] 8/21/12: Keep your brews fresh.</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-boulder-8-21-12-keep-your-brews-fresh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Standup][Boulder] 8/27/12: What week is it again?</title>
		<link>http://pivotallabs.com/standup-boulder-8-27-12-what-week-is-it-again/</link>
		<comments>http://pivotallabs.com/standup-boulder-8-27-12-what-week-is-it-again/#comments</comments>
		<pubDate>Mon, 27 Aug 2012 14:33:00 +0000</pubDate>
		<dc:creator>Austin Vance</dc:creator>
				<category><![CDATA[Labs]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-boulder-8-27-12-what-week-is-it-again/</guid>
		<description><![CDATA[<p><h2>Helps</h2>

<ul>
<li><p>Any tips for reading HttpPerf?</p></li>
<li><p>LogReplay, any good gems or tips to replay requests from server logs?</p></li>
</ul>

<h2>Interestings</h2>

<ul>
<li><p>Jeff dean mentioned some strategies dealing with week based reporting, and the oddities that arise when week 0 bleeds into the next year.</p>

<p>Use Date#strf_time</p></li>
</ul>

<pre>
  Week number:
  The week 1 of YYYY starts with a Sunday or Monday &#40;according to %U
  or %W&#41;.  The days in the year before the first week are in week 0.
    %U - Week number of the year.  The week starts with Sunday.  &#40;00..53&#41;
    %W - Week number of the year.  The week starts with Monday.  &#40;00..53&#41;
</pre> <a href="http://pivotallabs.com/standup-boulder-8-27-12-what-week-is-it-again/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-boulder-8-27-12-what-week-is-it-again/">[Standup][Boulder] 8/27/12: What week is it again?</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Helps</h2>
<ul>
<li>
<p>Any tips for reading HttpPerf?</p>
</li>
<li>
<p>LogReplay, any good gems or tips to replay requests from server logs?</p>
</li>
</ul>
<h2>Interestings</h2>
<ul>
<li>
<p>Jeff dean mentioned some strategies dealing with week based reporting, and the oddities that arise when week 0 bleeds into the next year.</p>
<p>Use Date#strf_time</p>
</li>
</ul>
<pre>
  Week number:
  The week 1 of YYYY starts with a Sunday or Monday &#40;according to %U
  or %W&#41;.  The days in the year before the first week are in week 0.
    %U - Week number of the year.  The week starts with Sunday.  &#40;00..53&#41;
    %W - Week number of the year.  The week starts with Monday.  &#40;00..53&#41;
</pre>
<p>The post <a href="http://pivotallabs.com/standup-boulder-8-27-12-what-week-is-it-again/">[Standup][Boulder] 8/27/12: What week is it again?</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-boulder-8-27-12-what-week-is-it-again/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[Standup][Boulder] 08/23/12: Move a little down and to the right</title>
		<link>http://pivotallabs.com/standup-boulder-08-23-12-move-a-little-down-and-to-the-right/</link>
		<comments>http://pivotallabs.com/standup-boulder-08-23-12-move-a-little-down-and-to-the-right/#comments</comments>
		<pubDate>Thu, 23 Aug 2012 14:46:00 +0000</pubDate>
		<dc:creator>Austin Vance</dc:creator>
				<category><![CDATA[Labs]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-boulder-08-23-12-move-a-little-down-and-to-the-right/</guid>
		<description><![CDATA[<p><h2>Interestings</h2>

<ul>
<li><p>Active Record Calculations are Not scoped, be aware.</p></li>
<li><p><code>puts "v"</code> is a newline and a tab character, for all your ascii art apps.</p></li>
</ul> <a href="http://pivotallabs.com/standup-boulder-08-23-12-move-a-little-down-and-to-the-right/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-boulder-08-23-12-move-a-little-down-and-to-the-right/">[Standup][Boulder] 08/23/12: Move a little down and to the right</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Interestings</h2>
<ul>
<li>
<p>Active Record Calculations are Not scoped, be aware.</p>
</li>
<li>
<p><code>puts "v"</code> is a newline and a tab character, for all your ascii art apps.</p>
</li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-boulder-08-23-12-move-a-little-down-and-to-the-right/">[Standup][Boulder] 08/23/12: Move a little down and to the right</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-boulder-08-23-12-move-a-little-down-and-to-the-right/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Standup][Boulder] 08/21/12: Wanna redo the repeater?</title>
		<link>http://pivotallabs.com/standup-boulder-08-21-12-wanna-redo-the-repeater/</link>
		<comments>http://pivotallabs.com/standup-boulder-08-21-12-wanna-redo-the-repeater/#comments</comments>
		<pubDate>Tue, 21 Aug 2012 14:32:00 +0000</pubDate>
		<dc:creator>Austin Vance</dc:creator>
				<category><![CDATA[Labs]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-boulder-08-21-12-wanna-redo-the-repeater/</guid>
		<description><![CDATA[<p><h2>Helps</h2>

<ul>
<li>Does anyone have any tips to get the Rails source running with all the ActiveRecord tests painlessly?</li>
</ul>

<h2>Interestings</h2>

<ul>
<li><code>rake db:migrate:redo</code> does not generate a schema.rb so if you want your schema to reflect your current database <code>rake db:migrate:redo db:schema:dump</code></li>
</ul> <a href="http://pivotallabs.com/standup-boulder-08-21-12-wanna-redo-the-repeater/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-boulder-08-21-12-wanna-redo-the-repeater/">[Standup][Boulder] 08/21/12: Wanna redo the repeater?</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Helps</h2>
<ul>
<li>Does anyone have any tips to get the Rails source running with all the ActiveRecord tests painlessly?</li>
</ul>
<h2>Interestings</h2>
<ul>
<li><code>rake db:migrate:redo</code> does not generate a schema.rb so if you want your schema to reflect your current database <code>rake db:migrate:redo db:schema:dump</code></li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-boulder-08-21-12-wanna-redo-the-repeater/">[Standup][Boulder] 08/21/12: Wanna redo the repeater?</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-boulder-08-21-12-wanna-redo-the-repeater/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Standup][Boulder] 08/20/12: MailCatcher in the Rye</title>
		<link>http://pivotallabs.com/standup-boulder-08-20-12-mailcatcher-in-the-rye/</link>
		<comments>http://pivotallabs.com/standup-boulder-08-20-12-mailcatcher-in-the-rye/#comments</comments>
		<pubDate>Mon, 20 Aug 2012 14:51:00 +0000</pubDate>
		<dc:creator>Austin Vance</dc:creator>
				<category><![CDATA[Labs]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-boulder-08-20-12-mailcatcher-in-the-rye/</guid>
		<description><![CDATA[<p><h2>Helps</h2>

<ul>
<li>Rails runs very slowly on a brand new MacbookPro, something like 5 seconds to load the welcome to rails page.  This happens when using Thin and WeBrick.</li>
</ul>

<p>Hmm...</p>

<h2>Interestings</h2>

<ul>
<li><p><a href="http://api.jquery.com/each/">jQuery <code>$.each</code></a> acts like Ruby's <a href="http://ruby-doc.org/core-1.9.3/Object.html#method-i-tap"><code>Object#tap</code></a>.</p></li>
<li><p>Rails <a href="http://apidock.com/rails/ActiveRecord/Calculations/pluck">model.has_many_association.pluck</a> will not scope to the model, it will just return the result of a SQL query for the attribute of the association's model. It will also not use any in memory objects are in the association but not in the database. So, be weary and use map.</p></li>
<li><p><a href="http://mailcatcher.me/">MailCatcher</a> is a gem that will catch all email sent from your app so you don't have to remember and create a bunch of unique emails.  It also makes email debugging a snap.</p></li>
<li><p><a href="http://api.jquery.com/input-selector/">jQuery pseudo selector <code>:input</code></a> will select all elements that can take a value.  Useful for grabbing inputs and clearing forms.</p></li>
</ul> <a href="http://pivotallabs.com/standup-boulder-08-20-12-mailcatcher-in-the-rye/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-boulder-08-20-12-mailcatcher-in-the-rye/">[Standup][Boulder] 08/20/12: MailCatcher in the Rye</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Helps</h2>
<ul>
<li>Rails runs very slowly on a brand new MacbookPro, something like 5 seconds to load the welcome to rails page.  This happens when using Thin and WeBrick.</li>
</ul>
<p>Hmm&#8230;</p>
<h2>Interestings</h2>
<ul>
<li>
<p><a href="http://api.jquery.com/each/">jQuery <code>$.each</code></a> acts like Ruby&#8217;s <a href="http://ruby-doc.org/core-1.9.3/Object.html#method-i-tap"><code>Object#tap</code></a>.</p>
</li>
<li>
<p>Rails <a href="http://apidock.com/rails/ActiveRecord/Calculations/pluck">model.has_many_association.pluck</a> will not scope to the model, it will just return the result of a SQL query for the attribute of the association&#8217;s model. It will also not use any in memory objects are in the association but not in the database. So, be weary and use map.</p>
</li>
<li>
<p><a href="http://mailcatcher.me/">MailCatcher</a> is a gem that will catch all email sent from your app so you don&#8217;t have to remember and create a bunch of unique emails.  It also makes email debugging a snap.</p>
</li>
<li>
<p><a href="http://api.jquery.com/input-selector/">jQuery pseudo selector <code>:input</code></a> will select all elements that can take a value.  Useful for grabbing inputs and clearing forms.</p>
</li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-boulder-08-20-12-mailcatcher-in-the-rye/">[Standup][Boulder] 08/20/12: MailCatcher in the Rye</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-boulder-08-20-12-mailcatcher-in-the-rye/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using apc
Database Caching using apc
Object Caching 1024/1104 objects using apc

 Served from: pivotallabs.com @ 2013-06-19 02:43:02 by W3 Total Cache -->