<?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; Abhijit Hiremagalur</title>
	<atom:link href="http://pivotallabs.com/author/abhi/feed/" rel="self" type="application/rss+xml" />
	<link>http://pivotallabs.com</link>
	<description>Agility Developed</description>
	<lastBuildDate>Fri, 17 May 2013 20:10:59 +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>Hash#fetch with confidence</title>
		<link>http://pivotallabs.com/hashfetch-with-confidence/</link>
		<comments>http://pivotallabs.com/hashfetch-with-confidence/#comments</comments>
		<pubDate>Sun, 05 May 2013 19:04:58 +0000</pubDate>
		<dc:creator>Abhijit Hiremagalur</dc:creator>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/?p=18817</guid>
		<description><![CDATA[<p>Hash#fetch is stricter about key presence than Hash#[] {}[:foo] =&#62; nil {}.fetch(:foo) KeyError: key not found: :foo If you forget to set an ENV variable, would you rather your application fail late or immediately? ENV['TWITTER_OAUTH_TOKEN'] =&#62; nil ENV.fetch('TWITTER_OAUTH_TOKEN') KeyError: key not found It&#8217;s especially interesting when a key with a truthy default is explicitly set to a falsy value. options = {on: false} @on = options[:on] &#124;&#124; true =&#62; true # yikes, ever fallen into this trap? @on = options.fetch(:on, true) =&#62; false</p><p>The post <a href="http://pivotallabs.com/hashfetch-with-confidence/">Hash#fetch with confidence</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.ruby-doc.org/core-1.9.3/Hash.html#method-i-fetch"><code>Hash#fetch</code></a> is stricter about key presence than <code>Hash#[]</code></p>
<pre><code> {}[:foo]
 =&gt; nil

 {}.fetch(:foo)
 KeyError: key not found: :foo
</code></pre>
<p>If you forget to set an <code>ENV</code> variable, would you rather your application fail late or immediately?</p>
<pre><code> ENV['TWITTER_OAUTH_TOKEN']
 =&gt; nil

 ENV.fetch('TWITTER_OAUTH_TOKEN')
 KeyError: key not found
</code></pre>
<p>It&#8217;s especially interesting when a key with a truthy default is explicitly set to a falsy value.</p>
<pre><code>options = {on: false}

@on = options[:on] || true 
=&gt; true # yikes, ever fallen into this trap?

@on = options.fetch(:on, true) 
=&gt; false</code></pre>
<p>The post <a href="http://pivotallabs.com/hashfetch-with-confidence/">Hash#fetch with confidence</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/hashfetch-with-confidence/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Standup 08/05/2010: &#8216;bundle check&#8217; and Websockets</title>
		<link>http://pivotallabs.com/standup-08-05-2010-bundle-check-and-websockets/</link>
		<comments>http://pivotallabs.com/standup-08-05-2010-bundle-check-and-websockets/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 13:28:00 +0000</pubDate>
		<dc:creator>Abhijit Hiremagalur</dc:creator>
				<category><![CDATA[Standup]]></category>
		<category><![CDATA[bundler]]></category>
		<category><![CDATA[websockets]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-08-05-2010-bundle-check-and-websockets/</guid>
		<description><![CDATA[<p><h2>Ask for Help</h2>

<ul>
<li>How to specify compile flags when installing the mysql gem with Bundler 1.0.0RC1?</li>
</ul>

<p>Don't. Instead use version 2.8.1 of the mysql gem and ensure <code>mysql_config</code> is on your <code>PATH</code>.</p>

<h2>Interesting Things</h2>

<ul>
<li>The team whose CI build <a href="http://pivotallabs.com/users/abhi/blog/articles/1345-standup-08-03-2010-bundle-me-this-batman-">was running Bundler too many times</a> addressed this by wrapping <code>bundle install</code> in a conditional using <code>bundle check</code>.</li>
</ul>

<p><script src="http://gist.github.com/510014.js"> </script></p>

<blockquote>
    <p>This saved about three minutes of build time &#40;from what used to be 11ish runs of bundle install instead of bundle check.&#41;</p>
</blockquote>

<ul>
<li><a href="http://www.websockets.org/">Websocksets</a> are easy, use them if you need to 'push' to your webapp and your server can handle many persistent connections.</li>
</ul>

<p>This was in reaction to some recent conversation between Pivots about <a href="http://www.pusherapp.com/">Pusher</a>, which will keep persistent connections on your behalf.</p>

<p>This said, here's a quote from websockets.org:</p>

<blockquote>
    <p>WebSockets represent an alternative to Comet and Ajax. However, each technology has its own unique capabilities. Learn how these technologies vary so you can make the right choice.</p>
</blockquote> <a href="http://pivotallabs.com/standup-08-05-2010-bundle-check-and-websockets/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-08-05-2010-bundle-check-and-websockets/">Standup 08/05/2010: &#8216;bundle check&#8217; and Websockets</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Ask for Help</h2>
<ul>
<li>How to specify compile flags when installing the mysql gem with Bundler 1.0.0RC1?</li>
</ul>
<p>Don&#8217;t. Instead use version 2.8.1 of the mysql gem and ensure <code>mysql_config</code> is on your <code>PATH</code>.</p>
<h2>Interesting Things</h2>
<ul>
<li>The team whose CI build <a href="http://pivotallabs.com/users/abhi/blog/articles/1345-standup-08-03-2010-bundle-me-this-batman-">was running Bundler too many times</a> addressed this by wrapping <code>bundle install</code> in a conditional using <code>bundle check</code>.</li>
</ul>
<p>&nbsp;</p>
<blockquote><p>This saved about three minutes of build time (from what used to be 11ish runs of bundle install instead of bundle check.)</p></blockquote>
<ul>
<li><a href="http://www.websockets.org/">Websocksets</a> are easy, use them if you need to &#8216;push&#8217; to your webapp and your server can handle many persistent connections.</li>
</ul>
<p>This was in reaction to some recent conversation between Pivots about <a href="http://www.pusherapp.com/">Pusher</a>, which will keep persistent connections on your behalf.</p>
<p>This said, here&#8217;s a quote from websockets.org:</p>
<blockquote><p>WebSockets represent an alternative to Comet and Ajax. However, each technology has its own unique capabilities. Learn how these technologies vary so you can make the right choice.</p></blockquote>
<p>The post <a href="http://pivotallabs.com/standup-08-05-2010-bundle-check-and-websockets/">Standup 08/05/2010: &#8216;bundle check&#8217; and Websockets</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-08-05-2010-bundle-check-and-websockets/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Standup 08/04/2010: Accounting on Rails anybody?</title>
		<link>http://pivotallabs.com/standup-08-04-2010-accounting-on-rails-anybody/</link>
		<comments>http://pivotallabs.com/standup-08-04-2010-accounting-on-rails-anybody/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 15:09:00 +0000</pubDate>
		<dc:creator>Abhijit Hiremagalur</dc:creator>
				<category><![CDATA[Standup]]></category>
		<category><![CDATA[cucumber]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rails3]]></category>
		<category><![CDATA[rubymine]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-08-04-2010-accounting-on-rails-anybody/</guid>
		<description><![CDATA[<p><h2>Ask for Help</h2>

<ul>
<li>Double-entry/ledger based accounting in Rails &#40;i.e. Quickbooks in Rails for free&#41;</li>
</ul>

<blockquote>
Ideally would be tied in with user/role system where each accounting entry would be tied to a user, but also reconciled against a master account.

Recommendations?  Latest and greatest?
</blockquote>

<p>One suggestion was to look at the code that <a href="http://github.com/wesabe/mesabe">Wesabe open sourced code</a> when they <a href="https://www.wesabe.com/groups/222-wesabe-accounts-shutdown/discussions/5216-wesabe-open-source">closed their doors.</a></p>

<ul>
<li>Error message when opening Rubymine "Invalid Git Root"</li>
</ul>

<p>This is likely because the project included a submodule that wasn't configured correctly, fix this in under Rubymine's version control preferences.</p>

<p><img src="http://farm5.static.flickr.com/4081/4861648277_18894bb22c_z.jpg" alt="Add submodule screen in Rubymine" /></p>

<h2>Interesting Things</h2>

<ul>
<li><p>Test 404 handling &#40;e.g. <code>rescue_from ActiveRecord::RecordNotFound, :with =&#62; :render_record_not_found</code>&#41; with <a href="http://cukes.info/">Cucumber</a> by temporarily setting <code>ActionController::Base.allow_rescue = true</code>. This is usually set to <code>false</code> in <code>features/support/env.rb</code></p></li>
<li><p><code>JSON.pretty_generate</code> hates Rails 3 <code>Hash</code>es</p></li>
</ul>

<p><script src="http://gist.github.com/509182.js"> </script></p>

<ul>
<li>Use <a href="https://developer.mozilla.org/en/DOM/window.postMessage">window.postMessage</a> to communicate between IFrames in a standard way</li>
</ul>

<p>This should work in most modern browsers. Follow the Mozilla docs, NOT the various blog posts about this.</p> <a href="http://pivotallabs.com/standup-08-04-2010-accounting-on-rails-anybody/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-08-04-2010-accounting-on-rails-anybody/">Standup 08/04/2010: Accounting on Rails anybody?</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Ask for Help</h2>
<ul>
<li>Double-entry/ledger based accounting in Rails (i.e. Quickbooks in Rails for free)</li>
</ul>
<blockquote><p>Ideally would be tied in with user/role system where each accounting entry would be tied to a user, but also reconciled against a master account.</p>
<p>Recommendations? Latest and greatest?</p></blockquote>
<p>One suggestion was to look at the code that <a href="http://github.com/wesabe/mesabe">Wesabe open sourced code</a> when they <a href="https://www.wesabe.com/groups/222-wesabe-accounts-shutdown/discussions/5216-wesabe-open-source">closed their doors.</a></p>
<ul>
<li>Error message when opening Rubymine &#8220;Invalid Git Root&#8221;</li>
</ul>
<p>This is likely because the project included a submodule that wasn&#8217;t configured correctly, fix this in under Rubymine&#8217;s version control preferences.</p>
<p><img alt="Add submodule screen in Rubymine" src="http://farm5.static.flickr.com/4081/4861648277_18894bb22c_z.jpg" /></p>
<h2>Interesting Things</h2>
<ul>
<li>Test 404 handling (e.g. <code>rescue_from ActiveRecord::RecordNotFound, :with =&gt; :render_record_not_found</code>) with <a href="http://cukes.info/">Cucumber</a> by temporarily setting <code>ActionController::Base.allow_rescue = true</code>. This is usually set to <code>false</code> in <code>features/support/env.rb</code></li>
<li><code>JSON.pretty_generate</code> hates Rails 3 <code>Hash</code>es</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>Use <a href="https://developer.mozilla.org/en/DOM/window.postMessage">window.postMessage</a> to communicate between IFrames in a standard way</li>
</ul>
<p>This should work in most modern browsers. Follow the Mozilla docs, NOT the various blog posts about this.</p>
<p>The post <a href="http://pivotallabs.com/standup-08-04-2010-accounting-on-rails-anybody/">Standup 08/04/2010: Accounting on Rails anybody?</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-08-04-2010-accounting-on-rails-anybody/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Standup 08/03/2010: Bundle me this Batman!</title>
		<link>http://pivotallabs.com/standup-08-03-2010-bundle-me-this-batman/</link>
		<comments>http://pivotallabs.com/standup-08-03-2010-bundle-me-this-batman/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 03:48:00 +0000</pubDate>
		<dc:creator>Abhijit Hiremagalur</dc:creator>
				<category><![CDATA[Standup]]></category>
		<category><![CDATA[ey]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[imagemagick]]></category>
		<category><![CDATA[jasmine]]></category>
		<category><![CDATA[rubymine]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-08-03-2010-bundle-me-this-batman/</guid>
		<description><![CDATA[<p><h2>Ask for Help</h2>

<ul>
<li>I asked if there's a date library in Ruby as rich as Java's <a href="http://joda-time.sourceforge.net/">JODA</a></li>
</ul>

<p>Suggestions included <a href="http://chronic.rubyforge.org/">Chronic</a> and <a href="http://github.com/rubyredrick/ri_cal">RI_CAL</a> though I'm hoping for something that can represent arbitrary periods &#40;ranges?&#41; of time JODA and handles interval calculation and other such date/time arithmetic.</p>

<ul>
<li>is&#40;':visible'&#41; doesn't always work as expected in <a href="http://pivotal.github.com/jasmine/">Jasmine</a></li>
</ul>

<p>One project reported that using this to as part of a <a href="http://pivotal.github.com/jasmine/">Jasmine</a> spec to ensure that an element becomes visible doesn't appear to be reliable.</p>

<ul>
<li>Annotate and Git History failed for a team using <a href="http://www.jetbrains.com/ruby/index.html">Rubymine</a> 2.0.2 and git 1.7.2.1 in combination with svn.</li>
</ul>

<p>They solved the problem by downgrading to git 1.7.1.1:</p>

<blockquote>
    <p>I followed instructions here to create a local set of portfiles:</p>

    <p><a href="http://guide.macports.org/#development.local-repositories">http://guide.macports.org/#development.local-repositories</a> and grabbed the older portfile from here:</p>

    <p><a href="https://trac.macports.org/browser/trunk/dports/devel/git-core?rev=69357">https://trac.macports.org/browser/trunk/dports/devel/git-core?rev=69357</a></p>

    <p>After I could do a port search git-core and have 1.7.1.1 show up, I was able to <code> sudo port deactivate git-core @1.7.2_0+doc+svn </code> and <code> sudo port install git-core @1.7.1.1+doc+svn </code></p>
</blockquote>

<ul>
<li><p>One person was experienced compile errors when installing <code>memprof</code> on Ubuntu, fortunately somebody else had gotten this working before and offered to help him through thee.</p></li>
<li><p>A team noticed that Bundler ran multiple &#40;4&#41; times on CI taking nearly 11mins overall and wanted to know to make Bundler run only once</p></li>
</ul>

<p>It was suggested that the problem may be due to the way they'd setup their <code>preinitializer.rb</code> and they should move the <code>bundle install</code> into a Rake task.</p>

<p><code>
if ENV['IS_CI_BOX']
  puts &#34;IS_CI_BOX is set, running <code>bundle install</code>...&#34;</p>

<p>system&#40;'bundle install'&#41; &#124;&#124; raise&#40;&#34;'bundle install' command failed. Install bundler with <code>gem install bundler</code>.&#34;&#41;</p>

<p>end
</code></p>

<p>It was pointed out that they should make sure their <code>Gemfile.lock</code> file is checked into version control, which it was. Additionally <a href="http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/">Bundler 1.0.0 RC1 will allow isolating gems to a local path</a> using <code>bundle install path --disable-shared-gems</code></p>

<h2>Interesting Things</h2>

<ul>
<li>The Facebook Graph API doesn't appear to implement OAuth 2.0 properly/completely so it doesn't work with the <a href="http://github.com/intridea/oauth2">OAuth2 gem</a></li>
<li>One Pivot noticed that the version of ImageMagick installed on the default EngineYard solo image is out of date and had to upgrade this manually.</li>
</ul> <a href="http://pivotallabs.com/standup-08-03-2010-bundle-me-this-batman/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-08-03-2010-bundle-me-this-batman/">Standup 08/03/2010: Bundle me this Batman!</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Ask for Help</h2>
<ul>
<li>I asked if there&#8217;s a date library in Ruby as rich as Java&#8217;s <a href="http://joda-time.sourceforge.net/">JODA</a></li>
</ul>
<p>Suggestions included <a href="http://chronic.rubyforge.org/">Chronic</a> and <a href="http://github.com/rubyredrick/ri_cal">RI_CAL</a> though I&#8217;m hoping for something that can represent arbitrary periods (ranges?) of time JODA and handles interval calculation and other such date/time arithmetic.</p>
<ul>
<li>is(&#8216;:visible&#8217;) doesn&#8217;t always work as expected in <a href="http://pivotal.github.com/jasmine/">Jasmine</a></li>
</ul>
<p>One project reported that using this to as part of a <a href="http://pivotal.github.com/jasmine/">Jasmine</a> spec to ensure that an element becomes visible doesn&#8217;t appear to be reliable.</p>
<ul>
<li>Annotate and Git History failed for a team using <a href="http://www.jetbrains.com/ruby/index.html">Rubymine</a> 2.0.2 and git 1.7.2.1 in combination with svn.</li>
</ul>
<p>They solved the problem by downgrading to git 1.7.1.1:</p>
<blockquote><p>I followed instructions here to create a local set of portfiles:</p>
<p><a href="http://guide.macports.org/#development.local-repositories">http://guide.macports.org/#development.local-repositories</a> and grabbed the older portfile from here:</p>
<p><a href="https://trac.macports.org/browser/trunk/dports/devel/git-core?rev=69357">https://trac.macports.org/browser/trunk/dports/devel/git-core?rev=69357</a></p>
<p>After I could do a port search git-core and have 1.7.1.1 show up, I was able to <code> sudo port deactivate git-core @1.7.2_0+doc+svn </code> and <code> sudo port install git-core @1.7.1.1+doc+svn </code></p></blockquote>
<ul>
<li>One person was experienced compile errors when installing <code>memprof</code> on Ubuntu, fortunately somebody else had gotten this working before and offered to help him through thee.</li>
<li>A team noticed that Bundler ran multiple (4) times on CI taking nearly 11mins overall and wanted to know to make Bundler run only once</li>
</ul>
<p>It was suggested that the problem may be due to the way they&#8217;d setup their <code>preinitializer.rb</code> and they should move the <code>bundle install</code> into a Rake task.</p>
<p><code><br />
if ENV['IS_CI_BOX']<br />
puts "IS_CI_BOX is set, running <code>bundle install</code>..."</code></p>
<p>system(&#8216;bundle install&#8217;) || raise(&#8220;&#8216;bundle install&#8217; command failed. Install bundler with <code>gem install bundler</code>.&#8221;)</p>
<p>end</p>
<p>It was pointed out that they should make sure their <code>Gemfile.lock</code> file is checked into version control, which it was. Additionally <a href="http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/">Bundler 1.0.0 RC1 will allow isolating gems to a local path</a> using <code>bundle install path --disable-shared-gems</code></p>
<h2>Interesting Things</h2>
<ul>
<li>The Facebook Graph API doesn&#8217;t appear to implement OAuth 2.0 properly/completely so it doesn&#8217;t work with the <a href="http://github.com/intridea/oauth2">OAuth2 gem</a></li>
<li>One Pivot noticed that the version of ImageMagick installed on the default EngineYard solo image is out of date and had to upgrade this manually.</li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-08-03-2010-bundle-me-this-batman/">Standup 08/03/2010: Bundle me this Batman!</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-08-03-2010-bundle-me-this-batman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Standup 08/02/2010: weird errors and convenient Jasmine fixture generation</title>
		<link>http://pivotallabs.com/standup-08-02-2010-interesting-monday/</link>
		<comments>http://pivotallabs.com/standup-08-02-2010-interesting-monday/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 16:42:00 +0000</pubDate>
		<dc:creator>Abhijit Hiremagalur</dc:creator>
				<category><![CDATA[Standup]]></category>
		<category><![CDATA[jasmine]]></category>
		<category><![CDATA[thor]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-08-02-2010-interesting-monday/</guid>
		<description><![CDATA[<p><h2>Interesting Things</h2>

<ul>
<li>One team noticed an odd error when they mistyped a <code>Thor</code> constant name.</li>
</ul>

<p><code>ArgumentError: Thor is not missing constant Sandbox!</code>.</p>

<p>This appears to due to how <code>#const_missing</code>  in <code>activesupport</code> handles nested constant names. Specifically when trying to reference one nested constant from within another nested constant that isn't its parent:</p>

<p><script src="http://gist.github.com/505902.js"> </script></p>

<p>Curiously the spec that exposed the previous issue also returned this odd summary: </p>

<p><code>0 examples, 1 failure, -1 passed</code></p>

<p>This is also similar to <a href="http://pivotallabs.com/users/will/blog/articles/986-standup-8-21-2009-not-missing-constant-and-rake-set-theory-">another standup blog post</a> from almost a year ago.</p>

<ul>
<li>When using <a href="http://pivotallabs.com/users/jb/blog/articles/1152-javascripttests-bind-reality-">JB's technique to save fixtures
for Jasmine in controller specs</a>, considering naming all your examples that create fixtures identically. This way you can easily run just these examples to regenerate your fixtures with something like <code>spec -e 'should generate a fixture for jasmine'</code></li>
</ul> <a href="http://pivotallabs.com/standup-08-02-2010-interesting-monday/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-08-02-2010-interesting-monday/">Standup 08/02/2010: weird errors and convenient Jasmine fixture generation</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Interesting Things</h2>
<ul>
<li>One team noticed an odd error when they mistyped a <code>Thor</code> constant name.</li>
</ul>
<p><code>ArgumentError: Thor is not missing constant Sandbox!</code>.</p>
<p>This appears to due to how <code>#const_missing</code> in <code>activesupport</code> handles nested constant names. Specifically when trying to reference one nested constant from within another nested constant that isn&#8217;t its parent:</p>
<p>&nbsp;</p>
<p>Curiously the spec that exposed the previous issue also returned this odd summary:</p>
<p><code>0 examples, 1 failure, -1 passed</code></p>
<p>This is also similar to <a href="http://pivotallabs.com/users/will/blog/articles/986-standup-8-21-2009-not-missing-constant-and-rake-set-theory-">another standup blog post</a> from almost a year ago.</p>
<ul>
<li>When using <a href="http://pivotallabs.com/users/jb/blog/articles/1152-javascripttests-bind-reality-">JB&#8217;s technique to save fixtures<br />
for Jasmine in controller specs</a>, considering naming all your examples that create fixtures identically. This way you can easily run just these examples to regenerate your fixtures with something like <code>spec -e 'should generate a fixture for jasmine'</code></li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-08-02-2010-interesting-monday/">Standup 08/02/2010: weird errors and convenient Jasmine fixture generation</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-08-02-2010-interesting-monday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Standup Blog: 11/19/2009</title>
		<link>http://pivotallabs.com/standup-blog-11-19-2009/</link>
		<comments>http://pivotallabs.com/standup-blog-11-19-2009/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 15:24:00 +0000</pubDate>
		<dc:creator>Abhijit Hiremagalur</dc:creator>
				<category><![CDATA[Standup]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-blog-11-19-2009/</guid>
		<description><![CDATA[<p><h2>Help</h2>

<p>One project is releasing soon but has not yet been indexed by Google, what's the best way to get Google to index the website quickly?</p>

<p>How do people distinguish between nil and a cache miss when using Memcached and Ruby?</p>

<ul>
<li>Some suggested using a <code>:symbol</code> to represent <code>nil</code> </li>
</ul>

<p><code>form_for @object</code> sometimes posts to the wrong action, has anybody else seen this?</p> <a href="http://pivotallabs.com/standup-blog-11-19-2009/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-blog-11-19-2009/">Standup Blog: 11/19/2009</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Help</h2>
<p>One project is releasing soon but has not yet been indexed by Google, what&#8217;s the best way to get Google to index the website quickly?</p>
<p>How do people distinguish between nil and a cache miss when using Memcached and Ruby?</p>
<ul>
<li>Some suggested using a <code>:symbol</code> to represent <code>nil</code></li>
</ul>
<p><code>form_for @object</code> sometimes posts to the wrong action, has anybody else seen this?</p>
<p>The post <a href="http://pivotallabs.com/standup-blog-11-19-2009/">Standup Blog: 11/19/2009</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-blog-11-19-2009/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Standup Blog: 11/18/2009</title>
		<link>http://pivotallabs.com/standup-blog-11-18-2009/</link>
		<comments>http://pivotallabs.com/standup-blog-11-18-2009/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 15:18:00 +0000</pubDate>
		<dc:creator>Abhijit Hiremagalur</dc:creator>
				<category><![CDATA[Standup]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-blog-11-18-2009/</guid>
		<description><![CDATA[<p><h2>Help</h2>

<p><em>"Recommendations for a configurable embedded video player"</em> </p>

<ul>
<li>Lot's of people recommend <a href="http://flowplayer.org/">Flowplayer</a></li>
<li>Other's suggested looking the <a href="http://code.google.com/apis/youtube/overview.html">Youtube APIs</a></li>
</ul> <a href="http://pivotallabs.com/standup-blog-11-18-2009/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-blog-11-18-2009/">Standup Blog: 11/18/2009</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Help</h2>
<p><em>&#8220;Recommendations for a configurable embedded video player&#8221;</em></p>
<ul>
<li>Lot&#8217;s of people recommend <a href="http://flowplayer.org/">Flowplayer</a></li>
<li>Other&#8217;s suggested looking the <a href="http://code.google.com/apis/youtube/overview.html">Youtube APIs</a></li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-blog-11-18-2009/">Standup Blog: 11/18/2009</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-blog-11-18-2009/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Standup Blog 02/07/2009: RM 1.1.1 + Java 1.6 on OS X Solved, Pivotal video, PDF Libraries</title>
		<link>http://pivotallabs.com/standup-blog-02-07-2009/</link>
		<comments>http://pivotallabs.com/standup-blog-02-07-2009/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 14:01:00 +0000</pubDate>
		<dc:creator>Abhijit Hiremagalur</dc:creator>
				<category><![CDATA[Standup]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-blog-02-07-2009/</guid>
		<description><![CDATA[<p><h2>Interesting Things</h2>

<ul>
<li><a href="http://www.jetbrains.net/devnet/thread/282333">Answer to RM 1.1.1 + Java 1.6 on OS X issues</a></li>
<li><a href="http://www.youtube.com/watch?v=mWdQZYsB4dQ">Pivotal/EngineYard video</a></li>
</ul>

<h2>Help</h2>

<p><em>"What Ruby PDF libraries are people using?"</em></p>

<ul>
<li>Especially for HTML to PDF generation</li>
</ul> <a href="http://pivotallabs.com/standup-blog-02-07-2009/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-blog-02-07-2009/">Standup Blog 02/07/2009: RM 1.1.1 + Java 1.6 on OS X Solved, Pivotal video, PDF Libraries</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Interesting Things</h2>
<ul>
<li><a href="http://www.jetbrains.net/devnet/thread/282333">Answer to RM 1.1.1 + Java 1.6 on OS X issues</a></li>
<li><a href="http://www.youtube.com/watch?v=mWdQZYsB4dQ">Pivotal/EngineYard video</a></li>
</ul>
<h2>Help</h2>
<p><em>&#8220;What Ruby PDF libraries are people using?&#8221;</em></p>
<ul>
<li>Especially for HTML to PDF generation</li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-blog-02-07-2009/">Standup Blog 02/07/2009: RM 1.1.1 + Java 1.6 on OS X Solved, Pivotal video, PDF Libraries</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-blog-02-07-2009/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Standup 06/30/2009: (Really) delete git tag, rails filter action and matrix knot!</title>
		<link>http://pivotallabs.com/standup-06-30-2009-really-delete-git-tag-crazy-filter-action-and-matrix-knot/</link>
		<comments>http://pivotallabs.com/standup-06-30-2009-really-delete-git-tag-crazy-filter-action-and-matrix-knot/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 18:29:00 +0000</pubDate>
		<dc:creator>Abhijit Hiremagalur</dc:creator>
				<category><![CDATA[Standup]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-06-30-2009-really-delete-git-tag-crazy-filter-action-and-matrix-knot/</guid>
		<description><![CDATA[<p><h2>Interesting Things</h2>

<ul>
<li><a href="http://api.rubyonrails.org/classes/ActionController/Filters/ClassMethods.html">Rails controller filters</a> can also be objects
<ul>
<li>Any object with a before, after or filter method can be a filter</li>
</ul></li>
<li>Will Read attempts the <a href="http://lifehacker.com/5302460/dress-up-your-ties-with-the-merovingian-knot?skyline=true&#38;s=i">Matrix knot</a>
<img src="http://i43.tinypic.com/2e0uwow.jpg" alt="Image" /></li>
</ul>

<h2>Help</h2>

<p><em>"How do you permanently remove a git tag?"</em></p>

<ul>
<li>One team would like a delete a tag created by their CI, but it keeps coming back if somebody who has pulled the tag locally does a push.</li>
</ul> <a href="http://pivotallabs.com/standup-06-30-2009-really-delete-git-tag-crazy-filter-action-and-matrix-knot/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-06-30-2009-really-delete-git-tag-crazy-filter-action-and-matrix-knot/">Standup 06/30/2009: (Really) delete git tag, rails filter action and matrix knot!</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Interesting Things</h2>
<ul>
<li><a href="http://api.rubyonrails.org/classes/ActionController/Filters/ClassMethods.html">Rails controller filters</a> can also be objects
<ul>
<li>Any object with a before, after or filter method can be a filter</li>
</ul>
</li>
<li>Will Read attempts the <a href="http://lifehacker.com/5302460/dress-up-your-ties-with-the-merovingian-knot?skyline=true&amp;s=i">Matrix knot</a><br />
<img alt="Image" src="http://i43.tinypic.com/2e0uwow.jpg" /></li>
</ul>
<h2>Help</h2>
<p><em>&#8220;How do you permanently remove a git tag?&#8221;</em></p>
<ul>
<li>One team would like a delete a tag created by their CI, but it keeps coming back if somebody who has pulled the tag locally does a push.</li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-06-30-2009-really-delete-git-tag-crazy-filter-action-and-matrix-knot/">Standup 06/30/2009: (Really) delete git tag, rails filter action and matrix knot!</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-06-30-2009-really-delete-git-tag-crazy-filter-action-and-matrix-knot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Standup 01/16/2009: onReady() for AJAX, Web Sprites &amp; Detecting UTF-8</title>
		<link>http://pivotallabs.com/title-standup-01-16-2009-onready-for-ajax/</link>
		<comments>http://pivotallabs.com/title-standup-01-16-2009-onready-for-ajax/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 04:09:00 +0000</pubDate>
		<dc:creator>Abhijit Hiremagalur</dc:creator>
				<category><![CDATA[Standup]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[iconv]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[utf-8]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/title-standup-01-16-2009-onready-for-ajax/</guid>
		<description><![CDATA[<p><h2>Interesting Things</h2>

<ul>
<li>Web based sprite generator - <a href="http://spritegen.website-performance.org/">here</a></li>
</ul>

<p>This also makes the generated sprite really small which is great if you care about page load times. A Ruby+ImageMagick sprite generator might also be a good thing to build.</p>

<ul>
<li>Cool way of detecting if a file is UTF-8 enconded using Ruby+IConv - <a href="http://pivotallabs.com/users/jsusser/blog/articles/667-detecting-invalid-encoding-in-csv-uploads">here</a></li>
</ul>

<h2>Ask for Help</h2>

<p><em>"Is there an onReady&#40;&#41; for AJAX events?"</em></p>

<ul>
<li>onAJAXReady&#40;&#41; ?</li>
<li><a href="http://docs.jquery.com/Release:jQuery_1.3#Live_Events">JQuery Live Events</a> might do the trick</li>
</ul> <a href="http://pivotallabs.com/title-standup-01-16-2009-onready-for-ajax/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/title-standup-01-16-2009-onready-for-ajax/">Standup 01/16/2009: onReady() for AJAX, Web Sprites &amp; Detecting UTF-8</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Interesting Things</h2>
<ul>
<li>Web based sprite generator &#8211; <a href="http://spritegen.website-performance.org/">here</a></li>
</ul>
<p>This also makes the generated sprite really small which is great if you care about page load times. A Ruby+ImageMagick sprite generator might also be a good thing to build.</p>
<ul>
<li>Cool way of detecting if a file is UTF-8 enconded using Ruby+IConv &#8211; <a href="http://pivotallabs.com/users/jsusser/blog/articles/667-detecting-invalid-encoding-in-csv-uploads">here</a></li>
</ul>
<h2>Ask for Help</h2>
<p><em>&#8220;Is there an onReady() for AJAX events?&#8221;</em></p>
<ul>
<li>onAJAXReady() ?</li>
<li><a href="http://docs.jquery.com/Release:jQuery_1.3#Live_Events">JQuery Live Events</a> might do the trick</li>
</ul>
<p>The post <a href="http://pivotallabs.com/title-standup-01-16-2009-onready-for-ajax/">Standup 01/16/2009: onReady() for AJAX, Web Sprites &amp; Detecting UTF-8</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/title-standup-01-16-2009-onready-for-ajax/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 1167/1266 objects using apc

 Served from: pivotallabs.com @ 2013-05-18 08:51:13 by W3 Total Cache -->