<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Deployment Zone - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-47b91f4b" type="application/json"/><link>http://deploymentzone.disqus.com/</link><description></description><atom:link href="http://deploymentzone.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 04 May 2012 09:34:51 -0000</lastBuildDate><item><title>Re: Rake task to convert ERb to Haml</title><link>http://www.deploymentzone.com/2012/03/12/rake-task-to-convert-erb-to-haml/#comment-519029527</link><description>&lt;p&gt;The only caveat with that is you'll need to...&lt;/p&gt;

&lt;p&gt;task :erb2html =&amp;gt; :environment do&lt;/p&gt;

&lt;p&gt;... so the Rails environment is loaded.  Just means a few extra seconds of spin up which doesn't make a big difference with a one-time utility like this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Feduke</dc:creator><pubDate>Fri, 04 May 2012 09:34:51 -0000</pubDate></item><item><title>Re: Rake task to convert ERb to Haml</title><link>http://www.deploymentzone.com/2012/03/12/rake-task-to-convert-erb-to-haml/#comment-518896619</link><description>&lt;p&gt;I prefer : from_path = Rails.root.join('app', 'views')&lt;/p&gt;

&lt;p&gt;(So the code in independant from the directory.&lt;/p&gt;

&lt;p&gt;Thanks for it ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Regbze</dc:creator><pubDate>Fri, 04 May 2012 07:53:55 -0000</pubDate></item><item><title>Re: Guard, RSpec 2, and Growl</title><link>http://www.deploymentzone.com/2011/05/24/guard-rspec-2-and-growl/#comment-358933528</link><description>&lt;p&gt;Many thanks to you for this post...finally got Growl notifications working due to it!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brian</dc:creator><pubDate>Tue, 08 Nov 2011 23:09:25 -0000</pubDate></item><item><title>Re: backbone.js: Collections of Models within Models</title><link>http://www.deploymentzone.com/2011/08/10/backbone-js-collections-of-models-within-models/#comment-355800064</link><description>&lt;p&gt;Oh that's the whole thing, I mean its working, we're using it today at my company.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Feduke</dc:creator><pubDate>Fri, 04 Nov 2011 12:21:54 -0000</pubDate></item><item><title>Re: backbone.js: Collections of Models within Models</title><link>http://www.deploymentzone.com/2011/08/10/backbone-js-collections-of-models-within-models/#comment-355793482</link><description>&lt;p&gt;The author of the blog has not published the full example yet. So, I guess, it's not so simple.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mitin Pavel</dc:creator><pubDate>Fri, 04 Nov 2011 12:17:32 -0000</pubDate></item><item><title>Re: backbone.js: Collections of Models within Models</title><link>http://www.deploymentzone.com/2011/08/10/backbone-js-collections-of-models-within-models/#comment-355344867</link><description>&lt;p&gt;It appears that the key to this whole solution is binding change on the parent model to fetch_success and fixing up the parent after the fetch. Or am I missing something? &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John LaBarge</dc:creator><pubDate>Fri, 04 Nov 2011 00:12:33 -0000</pubDate></item><item><title>Re: Guard, RSpec 2, and Growl</title><link>http://www.deploymentzone.com/2011/05/24/guard-rspec-2-and-growl/#comment-297973908</link><description>&lt;p&gt;I use the growl-notify gem, as it requires no further configuration. Check it out here: &lt;a href="http://rubygems.org/gems/growl_notify" rel="nofollow"&gt;http://rubygems.org/gems/growl...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">closedbracket</dc:creator><pubDate>Mon, 29 Aug 2011 16:17:07 -0000</pubDate></item><item><title>Re: backbone.js: Collections of Models within Models</title><link>http://www.deploymentzone.com/2011/08/10/backbone-js-collections-of-models-within-models/#comment-290703738</link><description>&lt;p&gt;From my experience, relationships between views and models/collections are the hardest aspect if you have to deal with trees. This aspect messes up code the most. There is a temptation to keep links on views in models or  other similar nasty stuff.&lt;/p&gt;

&lt;p&gt;If you came up with an elegant solution for the whole backbone stack, please write about it&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mitin Pavel</dc:creator><pubDate>Fri, 19 Aug 2011 02:59:06 -0000</pubDate></item><item><title>Re: RSpec-ing a rake task</title><link>http://www.deploymentzone.com/2011/06/30/rspec-ing-a-rake-task/#comment-274562894</link><description>&lt;p&gt;What I needed.  You da man.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">diebels727</dc:creator><pubDate>Tue, 02 Aug 2011 10:12:00 -0000</pubDate></item><item><title>Re: haml and haml-rails</title><link>http://www.deploymentzone.com/2011/07/04/haml-and-haml-rails/#comment-245566365</link><description>&lt;p&gt;Thank you very much for this.&lt;/p&gt;

&lt;p&gt;I was starting out with haml + rails 3.0.9 with only the haml-rails gem, and form_for's were refusing to work.&lt;/p&gt;

&lt;p&gt;Your setup worked immediately with a quick scaffold.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">collin</dc:creator><pubDate>Thu, 07 Jul 2011 21:16:08 -0000</pubDate></item><item><title>Re: A vanilla Rakefile</title><link>http://www.deploymentzone.com/2011/06/23/a-vanilla-rakefile/#comment-233934634</link><description>&lt;p&gt;Cool, I'm actually packaging up something as a gem so I'll take your advice and move them to `lib/blah/tasks`.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Feduke</dc:creator><pubDate>Fri, 24 Jun 2011 00:53:52 -0000</pubDate></item><item><title>Re: A vanilla Rakefile</title><link>http://www.deploymentzone.com/2011/06/23/a-vanilla-rakefile/#comment-233933367</link><description>&lt;p&gt;Don't put them in `lib/tasks`. There is probably little if any reason to put your tasks under `lib/` anyway. Just put them in `tasks/` or heck even at root. But if there is some reason that you want to redistribute your rake tasks then put them somewhere under `lib/{name}/`, e.g. `lib/myapp/tasks/`.&lt;/p&gt;

&lt;p&gt;When using lib one must be name-wise so as not to interfere with other libraries.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">trans</dc:creator><pubDate>Fri, 24 Jun 2011 00:49:05 -0000</pubDate></item><item><title>Re: Guard, RSpec 2, and Growl</title><link>http://www.deploymentzone.com/2011/05/24/guard-rspec-2-and-growl/#comment-230244634</link><description>&lt;p&gt;I have same problem with growlnotify. Your post was very helpful. Thanks a lot!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ask11</dc:creator><pubDate>Mon, 20 Jun 2011 08:11:10 -0000</pubDate></item><item><title>Re: Guard, RSpec 2, and Growl</title><link>http://www.deploymentzone.com/2011/05/24/guard-rspec-2-and-growl/#comment-211961257</link><description>&lt;p&gt;I'm glad you found this post helpful! :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Feduke</dc:creator><pubDate>Thu, 26 May 2011 02:00:03 -0000</pubDate></item><item><title>Re: Guard, RSpec 2, and Growl</title><link>http://www.deploymentzone.com/2011/05/24/guard-rspec-2-and-growl/#comment-211713130</link><description>&lt;p&gt;I've been trying to get Growl notifications working with Guard and RSpec but I was getting this error:&lt;/p&gt;

&lt;p&gt;No such file or directory - growlnotify --versionSolution was to install growlnotify from the Extras/growlnotify/growlnotify.pkg in Growl disk image, as you mentioned in this post.Thanks a bunch!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rahil Sondhi</dc:creator><pubDate>Wed, 25 May 2011 17:19:09 -0000</pubDate></item><item><title>Re: Its 2010. I shouldn&amp;rsquo;t have to write code like this.</title><link>http://www.deploymentzone.com/2010/11/01/its-2010-i-shouldnt-have-to-write-code-like-this/#comment-188935630</link><description>&lt;p&gt;I just felt the sting of this one's bite a couple weeks ago myself... *sigh*&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BrightUmbra</dc:creator><pubDate>Thu, 21 Apr 2011 13:02:56 -0000</pubDate></item><item><title>Re: RSpec (and Rails 3) backward_compatibility.rb:20:in `const_missing&amp;#8217;</title><link>http://www.deploymentzone.com/2010/11/28/rspec-and-rails-3-backward_compatibility-rb20in-const_missing/#comment-173123670</link><description>&lt;p&gt;I really wish I saw this before I tried to hash out the issue myself. Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Pack</dc:creator><pubDate>Mon, 28 Mar 2011 03:26:40 -0000</pubDate></item><item><title>Re: Khorne Berzerkers</title><link>http://www.deploymentzone.com/2009/06/04/khorne-berzerkers/#comment-132213816</link><description>&lt;p&gt;Beatiful work! This is my favorite colour schemes for BLOOD GOD!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Trebuszeq</dc:creator><pubDate>Thu, 20 Jan 2011 20:01:16 -0000</pubDate></item><item><title>Re: I&amp;rsquo;m Dangerous with Ruby!</title><link>http://www.deploymentzone.com/2009/10/22/im-dangerous-with-ruby/#comment-91978097</link><description>&lt;p&gt;I fixed my code to allow for the poorly designed challenge... I thought it was too easy:&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;pre&gt;#!/usr/bin/env ruby&lt;br&gt;require 'time'&lt;p&gt;&lt;/p&gt;

&lt;p&gt;def average_time_of_day(times)&lt;br&gt;  times.sort!&lt;br&gt;  @total_time = 0 &lt;br&gt;  times.each_with_index do |str_time,index|&lt;br&gt;    time = Time.parse(str_time, &lt;a href="http://Time.at" rel="nofollow"&gt;Time.at&lt;/a&gt;(0)).to_i&lt;br&gt;    time += 86400 if time + 43200 &amp;lt; (@total_time / (index + 1))&lt;br&gt;    @total_time += time&lt;br&gt;  end&lt;br&gt;  puts "Average time: #{&lt;a href="http://Time.at" rel="nofollow"&gt;Time.at&lt;/a&gt;(@total_time/times.length).strftime("%I:%M%P")}"&lt;br&gt;end&lt;/p&gt;

&lt;p&gt;average_time_of_day(ARGV)&lt;br&gt;&lt;/p&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pickle Pumpers</dc:creator><pubDate>Sun, 31 Oct 2010 00:51:09 -0000</pubDate></item><item><title>Re: I&amp;rsquo;m Dangerous with Ruby!</title><link>http://www.deploymentzone.com/2009/10/22/im-dangerous-with-ruby/#comment-91957772</link><description>&lt;p&gt;Oh, I see. They assumed if you have times like 11:30pm and 12:15am the am time would be after the pm time. Except what if it isn't. The question itself is flawed. Congratz though on your win.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pickle Pumpers</dc:creator><pubDate>Sat, 30 Oct 2010 23:47:00 -0000</pubDate></item><item><title>Re: I&amp;rsquo;m Dangerous with Ruby!</title><link>http://www.deploymentzone.com/2009/10/22/im-dangerous-with-ruby/#comment-91954687</link><description>&lt;p&gt;Hmm. Seems like you're doing an awful lot of work that's not needed. Maybe I missed something. &lt;/p&gt;

&lt;p&gt;Here's my solution:&lt;/p&gt;

&lt;p&gt;#!/usr/bin/env ruby&lt;br&gt;require 'time'&lt;/p&gt;

&lt;p&gt;def average_time_of_day(times)&lt;br&gt;  @total_time = 0&lt;br&gt;  times.each do |time|&lt;br&gt;    @total_time += Time.parse(time, &lt;a href="http://Time.at" rel="nofollow"&gt;Time.at&lt;/a&gt;(0)).to_i&lt;br&gt;  end&lt;br&gt;  puts "Average time: #{&lt;a href="http://Time.at" rel="nofollow"&gt;Time.at&lt;/a&gt;(@total_time / times.length).strftime("%I:%M%p").downcase}"&lt;br&gt;end&lt;/p&gt;

&lt;p&gt;average_time_of_day(ARGV)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pickle Pumpers</dc:creator><pubDate>Sat, 30 Oct 2010 23:26:37 -0000</pubDate></item><item><title>Re: SharePoint, WebDAV, and http (not https)</title><link>http://www.deploymentzone.com/2008/08/01/sharepoint-webdav-and-http-not-https/#comment-74673707</link><description>&lt;p&gt;Awesome! We've been looking for this gem for months.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PeterOfOz</dc:creator><pubDate>Fri, 03 Sep 2010 00:31:56 -0000</pubDate></item><item><title>Re: Using Lightweight Test Automation Framework</title><link>http://www.deploymentzone.com/2009/03/30/using-lightweight-test-automation-framework/#comment-50056425</link><description>&lt;p&gt;Hello!&lt;/p&gt;

&lt;p&gt;We are interested in the review of our test automation tool - RoutineBot, please, let me know if you can do this review and what will be the price. I can pay you with PayPal.&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Thu, 13 May 2010 03:38:58 -0000</pubDate></item><item><title>Re: Warhammer 40K Tyranids</title><link>http://www.deploymentzone.com/2009/05/26/warhammer-40k-tyranids/#comment-49303961</link><description>&lt;p&gt;I agree to your article The hive fleets so far introduced by Games Workshop include Hive Fleet Behemoth, Hive Fleet Kraken, and Hive Fleet Leviathan,I try also to made a simple artwork for those tyranid but it seems I need a lot of effort to make it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tyranid</dc:creator><pubDate>Mon, 10 May 2010 04:34:10 -0000</pubDate></item><item><title>Re: IDictionary&amp;lt;TKey,TValue&amp;gt;, IXmlSerializable, and lambdas</title><link>http://www.deploymentzone.com/2008/09/19/idictionarytkeytvalue-ixmlserializable-and-lambdas/#comment-45556168</link><description>&lt;p&gt;Hello!&lt;/p&gt;

&lt;p&gt;Thanks for posting your great article.&lt;br&gt;I translated a similar VB project.&lt;br&gt;Now I have a problem.&lt;br&gt;I am trying to set (in a VB proj) in the .settings file the type of a property to the dictionary (i subclassed a non-generic type that inherits Dic&amp;lt;string, list&amp;lt;string=""&amp;gt;&amp;gt;) and I get an error.&lt;br&gt;You might want to help me out, please take a look:&lt;br&gt;&lt;a href="http://stackoverflow.com/questions/2663836/is-there-a-way-to-use-a-dictionary-or-xml-in-the-application-settings" rel="nofollow"&gt;http://stackoverflow.com/quest...&lt;/a&gt;&amp;lt;/string,&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shimmy</dc:creator><pubDate>Mon, 19 Apr 2010 18:51:03 -0000</pubDate></item></channel></rss>
