<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for jamesconroyfinn</title><link>http://disqus.com/by/jamesconroyfinn/</link><description></description><atom:link href="http://disqus.com/jamesconroyfinn/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 14 Jun 2012 19:32:25 -0000</lastBuildDate><item><title>Re: Spoofing Remote Addresses in Tests - jamesconroyfinn.com</title><link>http://jamesconroyfinn.com/2012/03/spoofing-remote-addresses-in-tests/#comment-557650335</link><description>&lt;p&gt;Hi @garethadams . You're right, the code was wrong. I've updated it with something that should work, and included a comment about the reliability of the approach used.&lt;/p&gt;&lt;p&gt;Thanks for the feedback.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Conroy-Finn</dc:creator><pubDate>Thu, 14 Jun 2012 19:32:25 -0000</pubDate></item><item><title>Re: Rails 3 Quicktip: Auto reload lib folders in development mode</title><link>http://www.hemju.com/2011/02/rails-3-quicktip-auto-reload-lib-folders-in-development-mode/#comment-189971841</link><description>&lt;p&gt;The enumeration within&lt;/p&gt;&lt;p&gt;    if Rails.env=="development"&lt;br&gt;      RELOAD_LIBS = []&lt;br&gt;      Dir["#{Rails.root.to_s}/lib/**/*.rb"].each do |path|&lt;br&gt;        RELOAD_LIBS &amp;lt;&amp;lt; path&lt;br&gt;      end&lt;br&gt;    end&lt;/p&gt;&lt;p&gt;is unnecessary as `Dir.glob` returns an array, `Rails.env` is wrapped in a StringInquirer which means you can use a query method to determine the current environment and `Rails.root` is a `Pathname` which means you have a `:+` method that joins your path in a more readable way.&lt;/p&gt;&lt;p&gt;The above code could be written more succinctly as&lt;/p&gt;&lt;p&gt;    RELOAD_LIBS = Dir[Rails.root + 'lib/**/*.rb'] if Rails.env.development?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Conroy-Finn</dc:creator><pubDate>Fri, 22 Apr 2011 08:20:28 -0000</pubDate></item><item><title>Re: http://log.jamesconroyfinn.com/post/1187837707</title><link>http://log.jamesconroyfinn.com/post/1187837707#comment-81020841</link><description>&lt;p&gt;I've started a vim plugin that will allow you to access RVM rubies from within MacVim without too much trouble. You can find it on &lt;a href="http://github.com/jcf/rvm_ruby.vim" rel="nofollow noopener" target="_blank" title="http://github.com/jcf/rvm_ruby.vim"&gt;Github&lt;/a&gt;.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Conroy-Finn</dc:creator><pubDate>Sun, 26 Sep 2010 15:31:19 -0000</pubDate></item><item><title>Re: http://365git.tumblr.com/post/519016351</title><link>http://365git.tumblr.com/post/519016351#comment-50703595</link><description>&lt;p&gt;I occasionally need to use &lt;code&gt;update-index&lt;/code&gt; when I need to quickly ignore a path on a per-repo basis. Handy when you don't want to commit some packaged assets you've just generated.&lt;br&gt;&lt;br&gt;&lt;code&gt;git update-index --[no-]assume-unchanged &amp;lt;file&amp;gt;&lt;/code&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Conroy-Finn</dc:creator><pubDate>Mon, 17 May 2010 11:31:05 -0000</pubDate></item><item><title>Re: Leaked Dell Windows 7 Phone Is Electric</title><link>http://thenextweb.com/mobile/2010/04/22/leaked-dell-windows-7-phone-electric/#comment-45992319</link><description>&lt;p&gt;"The handset will support both full DixX playback, Flash and Silverlight…"&lt;/p&gt;&lt;p&gt;Should it be DivX support as opposed to DixX?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Conroy-Finn</dc:creator><pubDate>Thu, 22 Apr 2010 08:10:03 -0000</pubDate></item><item><title>Re: Mark Turner - Amerine.net - Rails 3.0 Setup using rvm &amp; Ruby 1.9.2</title><link>http://amerine.net/2010/02/24/rvm-rails3-ruby-1-9-2-setup.html#comment-43475698</link><description>&lt;p&gt;Nice write up Mark… might be worth changing the gemset separator as it has changed from a % to an @ symbol.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Conroy-Finn</dc:creator><pubDate>Tue, 06 Apr 2010 08:28:24 -0000</pubDate></item><item><title>Re: Present.ly - Present.ly On GitHub</title><link>https://presentlyapp.com/blog/2008/11/presently-github-integration#comment-4703125</link><description>&lt;p&gt;Very nice. I may have to persuade the other guys at work to leave Yammer and use &lt;a href="http://Present.ly" rel="nofollow noopener" target="_blank" title="Present.ly"&gt;Present.ly&lt;/a&gt; instead!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Conroy-Finn</dc:creator><pubDate>Sun, 28 Dec 2008 19:51:46 -0000</pubDate></item></channel></rss>