<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Pete On Rails - 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-5957b59b" type="application/json"/><link>http://peteonrails.disqus.com/</link><description></description><language>en</language><lastBuildDate>Fri, 26 Jun 2009 19:35:16 -0000</lastBuildDate><item><title>Re: The Case for Story Points</title><link>http://blog.peteonrails.com/articles/2009/02/05/the-case-for-story-points/#comment-11806311</link><description>This is a good example of how mysterious finds can be solved with a little effort.&lt;br&gt;Note that the Capital of Vermont &lt;a href="http://www.hrsaccountlogin.com" rel="nofollow"&gt;hrsaccount&lt;/a&gt; is Montpelier, not Burlington. Burlington is Vermont's largest city.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">graceglmcooke</dc:creator><pubDate>Fri, 26 Jun 2009 19:35:16 -0000</pubDate></item><item><title>Re: VoteFu gets a couple enhancements</title><link>http://blog.peteonrails.com/articles/2008/07/23/votefu-gets-a-couple-enhancements/#comment-11692218</link><description>I'm not sure what you've done wrong. Can you post a link to a gist or other online snippet so I can see your code?&lt;br&gt;&lt;br&gt;Thanks, &lt;br&gt;&lt;br&gt;--Pete</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">peteonrails</dc:creator><pubDate>Wed, 24 Jun 2009 14:30:48 -0000</pubDate></item><item><title>Re: VoteFu gets a couple enhancements</title><link>http://blog.peteonrails.com/articles/2008/07/23/votefu-gets-a-couple-enhancements/#comment-10733210</link><description>The :order in the tally doesn't seem to work? Where have i done wrong?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">TM</dc:creator><pubDate>Thu, 11 Jun 2009 06:47:51 -0000</pubDate></item><item><title>Re: Sidebar comments in code</title><link>http://blog.peteonrails.com/articles/2008/05/26/sidebar-comments-in-code/#comment-10523857</link><description>Oddly enough, a full year later, I write my blocks like the second example. &lt;br&gt;&lt;br&gt;Feh.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">peteonrails</dc:creator><pubDate>Fri, 05 Jun 2009 12:14:45 -0000</pubDate></item><item><title>Re: Announcing VoteFu</title><link>http://blog.peteonrails.com/articles/2008/07/13/announcing-votefu/#comment-8302048</link><description>Hey Pete, loving this plugin. I used it to get this site up and running quite quickly: &lt;a href="http://buyersvote.com" rel="nofollow"&gt;http://buyersvote.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;So thanks for contributing it!&lt;br&gt;&lt;br&gt;One comment I wanted to share:  one more feature I was able to add is the ability for people to vote on votes!  This sounds weird, but it's what they do on &lt;a href="http://Amazon.com" rel="nofollow"&gt;Amazon.com&lt;/a&gt; where they ask you, was this review helpful?  yes or no&lt;br&gt;&lt;br&gt;Anyway, I tried adding acts_as_voteable to vote.rb and at first it didn't work.  But I was able to get it working by adding these two lines at the top:&lt;br&gt;&lt;br&gt;require 'acts_as_voteable'&lt;br&gt;ActiveRecord::Base.send(:include, Juixe::Acts::Voteable)&lt;br&gt;&lt;br&gt;Anyway, thanks again!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brian</dc:creator><pubDate>Fri, 17 Apr 2009 14:25:09 -0000</pubDate></item><item><title>Re: VoteFu 0.0.7</title><link>http://blog.peteonrails.com/articles/2008/12/02/votefu-007/#comment-7967380</link><description>Vote Fu and STI: I noticed that Vote Fu did not work with STI'd classes. This is because the types stored in the Vote table is always the base type, but the voteable and voter modules use self.class.name in their queries. Changing these methods to use self.class.base_class.name makes it work perfectly though. :) Great plug in. Very useful!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eric</dc:creator><pubDate>Wed, 08 Apr 2009 00:16:28 -0000</pubDate></item><item><title>Re: DRY controllers: Which Framework do you use?</title><link>http://blog.peteonrails.com/articles/2008/05/07/dry-controllers-which-framework-do-you-use/#comment-6976496</link><description>Good god, I'm trying to work out the same thing.  I'm definitely leaning toward resource_controller because it just seems to be most logical correct way to do it plus the author appears enthusiastic and intelligent.  It's hard to figure out which of this new rash of plugins are still supported or how much longer they will be worked on, which will prosper and eventually which one will make it into core Rails.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nathan</dc:creator><pubDate>Sat, 07 Mar 2009 07:19:29 -0000</pubDate></item><item><title>Re: Converting to and from Unix / Java time (epoch)</title><link>http://blog.peteonrails.com/articles/2008/05/06/converting-to-and-from-unix-java-time-epoch/#comment-6500976</link><description>I've never heard of a leap millisecond, but I wouldn't exclude it from the realm of possibility.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">peteonrails</dc:creator><pubDate>Mon, 23 Feb 2009 12:45:43 -0000</pubDate></item><item><title>Re: The Case for Story Points</title><link>http://blog.peteonrails.com/articles/2009/02/05/the-case-for-story-points/#comment-6438972</link><description>Thanks Cecile! I appreciate the feedback.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">peteonrails</dc:creator><pubDate>Fri, 20 Feb 2009 15:17:35 -0000</pubDate></item><item><title>Re: The Case for Story Points</title><link>http://blog.peteonrails.com/articles/2009/02/05/the-case-for-story-points/#comment-6389964</link><description>Pete,&lt;br&gt;I am not an agile specialist at all, but your article is really helpful in clarifying the productivity measurement question. Thank you!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cecile</dc:creator><pubDate>Wed, 18 Feb 2009 21:18:55 -0000</pubDate></item><item><title>Re: MyQuotable.com Source Code released</title><link>http://blog.peteonrails.com/articles/2008/12/04/myquotablecom-source-code-released/#comment-6307668</link><description>Sorry about that, Jerome! &lt;br&gt;&lt;br&gt;I broke the codebase while doing a facebook app conversion. I need to revert it and set up a proper branch for the FB app. I took it offline so that nobody would get the busted version and try to use it. &lt;br&gt;&lt;br&gt;It'll be back online shortly. Apologies for the inconvenience.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">peteonrails</dc:creator><pubDate>Mon, 16 Feb 2009 12:25:28 -0000</pubDate></item><item><title>Re: MyQuotable.com Source Code released</title><link>http://blog.peteonrails.com/articles/2008/12/04/myquotablecom-source-code-released/#comment-6307047</link><description>Your link to the source code redirects me to my dashboard on github... looking at your projects on there, it's not listed! Is it private or something?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jerome</dc:creator><pubDate>Mon, 16 Feb 2009 11:43:34 -0000</pubDate></item><item><title>Re: VoteFu 0.0.7</title><link>http://blog.peteonrails.com/articles/2008/12/02/votefu-007/#comment-6270383</link><description>Nevermind, I figured it out!&lt;br&gt;Thanks anyway!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Sun, 15 Feb 2009 00:46:40 -0000</pubDate></item><item><title>Re: VoteFu 0.0.7</title><link>http://blog.peteonrails.com/articles/2008/12/02/votefu-007/#comment-6181450</link><description>the latest mislav_will_paginate on github.&lt;br&gt;&lt;br&gt;If you say it should work, then what (in general) should my controller code look like?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Wed, 11 Feb 2009 12:46:59 -0000</pubDate></item><item><title>Re: The Case for Story Points</title><link>http://blog.peteonrails.com/articles/2009/02/05/the-case-for-story-points/#comment-6178629</link><description>Hi Dan, &lt;br&gt;&lt;br&gt;Thanks for the feedback! &lt;br&gt;&lt;br&gt;I dislike Ideal Developer Days. I think they're a compromise on the "estimating in hours" argument. While they do have a nice name that leaves a little hedge for the developer to say, "Well, you keep interrupting me, so this isn't an ideal developer day," I also think it keeps the focus on gut checking rather than on evidence. &lt;br&gt;&lt;br&gt;Joel Spolsky did a great article on Evidence Based Scheduling here: &lt;a href="http://www.joelonsoftware.com/items/2007/10/26.html" rel="nofollow"&gt;http://www.joelonsoftware.com/items/2007/10/26....&lt;/a&gt;&lt;br&gt;&lt;br&gt;While I disagree with Joel on BDUF and his approach to planning out projects, he is absolutely, positively, irrefutably correct about scheduling based on the evidence (IMHO). :) &lt;br&gt;&lt;br&gt;Once I noticed that story points and velocity were a way to implement EBS in the agile process, I was hooked and haven't looked back. &lt;br&gt;&lt;br&gt;--Pete</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">peteonrails</dc:creator><pubDate>Wed, 11 Feb 2009 10:56:42 -0000</pubDate></item><item><title>Re: VoteFu 0.0.7</title><link>http://blog.peteonrails.com/articles/2008/12/02/votefu-007/#comment-6177864</link><description>I've not had a problem doing this. What problems are you encountering? What version of will_paginate are you using?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">peteonrails</dc:creator><pubDate>Wed, 11 Feb 2009 10:26:11 -0000</pubDate></item><item><title>Re: VoteFu 0.0.7</title><link>http://blog.peteonrails.com/articles/2008/12/02/votefu-007/#comment-6111617</link><description>Any idea how to mix the tally stuff with will_paginate? I've tried, but it didn't quite work out...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Mon, 09 Feb 2009 06:37:08 -0000</pubDate></item><item><title>Re: Book musings: Ubuntu Kung Fu is released and other fun</title><link>http://blog.peteonrails.com/articles/2008/09/24/book-musings-ubuntu-kung-fu-is-released-and-other-fun/#comment-6065086</link><description>nice book cover. Somehow I  really like it.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">busbyseo1</dc:creator><pubDate>Sat, 07 Feb 2009 03:46:47 -0000</pubDate></item><item><title>Re: The Case for Story Points</title><link>http://blog.peteonrails.com/articles/2009/02/05/the-case-for-story-points/#comment-6042870</link><description>Awesome article. What are your thoughts about Ideal Developer Days? I still don't think it's as effective as story points estimated on a Fibonacci scale.&lt;br&gt;&lt;br&gt;As a contractor, I use story points for determining durations of projects. IE, I know I can burn 38-45 points a week (my velocity). I find it's the most accurate way to put together a scope of work. &lt;br&gt;&lt;br&gt;Where it proves most effective, though, is in re-prioritizing and evaluating the impact of changes with the client. My clients and I find it really helpful when we're shifting stories around based on their point cost when new ideas come into play.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dpickett</dc:creator><pubDate>Fri, 06 Feb 2009 09:57:53 -0000</pubDate></item><item><title>Re: VoteFu 0.0.7</title><link>http://blog.peteonrails.com/articles/2008/12/02/votefu-007/#comment-5699626</link><description>Thank you, Guillaume. If you'd fork the repo on github, make the change, and send me a pull request, I'll be happy to merge the changes into the master. &lt;br&gt;&lt;br&gt;If you'd rather not do it that way, then I'll make a bugfix release in the next week or so and include your changes.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">peteonrails</dc:creator><pubDate>Fri, 30 Jan 2009 10:51:09 -0000</pubDate></item><item><title>Re: VoteFu 0.0.7</title><link>http://blog.peteonrails.com/articles/2008/12/02/votefu-007/#comment-5697156</link><description>Found an issue with has_karma and sqlite3. &lt;br&gt;&lt;br&gt;      module InstanceMethods&lt;br&gt;        def karma(options = {})&lt;br&gt;          # count the total number of votes on all of the voteable objects that are related to this object&lt;br&gt;          #The following line is not SQLite3 compatible, because boolean are stored as 'f' or 't', not '1', or '0'&lt;br&gt;          #self.karma_voteable.sum(:vote, options_for_karma(options))&lt;br&gt;          self.karma_voteable.find(:all, options_for_karma(options).merge(:conditions =&amp;gt; ['vote = ?', true])).length&lt;br&gt;        end&lt;br&gt;&lt;br&gt;Merging the options and conditions might not be the best for scalability, but it works with sqlite3.&lt;br&gt;&lt;br&gt;Without this fix, everyone had a karma of 0.&lt;br&gt;&lt;br&gt;Not sure this is the right place for the post, I'll try to add it on github as well.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guillaume</dc:creator><pubDate>Fri, 30 Jan 2009 10:13:08 -0000</pubDate></item><item><title>Re: Converting to and from Unix / Java time (epoch)</title><link>http://blog.peteonrails.com/articles/2008/05/06/converting-to-and-from-unix-java-time-epoch/#comment-5632030</link><description>We all know there is such thing as a leap year.  There is also such thing as a leap second (I think there was one at the end of 2008).&lt;br&gt;&lt;br&gt;Is there such thing as a leap millisecond (or any smaller time division for that matter).  Or in other words, does:&lt;br&gt;&lt;br&gt;    javatime == (unixtime * 1000)&lt;br&gt;&lt;br&gt;in fact hold true (for those people who do care about ms precision when doing the conversion)?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jono B</dc:creator><pubDate>Wed, 28 Jan 2009 20:17:58 -0000</pubDate></item><item><title>Re: VoteFu 0.0.7</title><link>http://blog.peteonrails.com/articles/2008/12/02/votefu-007/#comment-4959754</link><description>Rich, &lt;br&gt;&lt;br&gt;Sorry about that! I need to update the documentation. It is now: &lt;br&gt;&lt;br&gt;"script/generate vote_fu Post"&lt;br&gt;&lt;br&gt;--Pete</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">peteonrails</dc:creator><pubDate>Wed, 07 Jan 2009 09:45:34 -0000</pubDate></item><item><title>Re: VoteFu 0.0.7</title><link>http://blog.peteonrails.com/articles/2008/12/02/votefu-007/#comment-4949203</link><description>I keep getting this error when I run the  "script/generate voteable VoteableModel"  command.&lt;br&gt;&lt;br&gt;"Couldn't find 'voteable' generator"&lt;br&gt;&lt;br&gt;Here's what I did, &lt;br&gt;&lt;br&gt;First I created a quick test application (rails 2.2.2) &lt;br&gt;&lt;br&gt;Then I create a quick scaffold like this:&lt;br&gt; --&amp;gt; script/generate scaffold post title:string body:text published:boolean&lt;br&gt;&lt;br&gt;Then I created quick user model like this:&lt;br&gt; --&amp;gt; script/generate scaffold user login:string password:string&lt;br&gt;&lt;br&gt;Then ran &lt;br&gt; --&amp;gt; db:migrate&lt;br&gt;&lt;br&gt;Then ran:&lt;br&gt;  --&amp;gt;script/generate voteable post&lt;br&gt;&lt;br&gt;error --&amp;gt; Couldn't find 'voteable' generator&lt;br&gt;&lt;br&gt;I've tried using the plugin and the gem version -- same results.&lt;br&gt;&lt;br&gt;Any ideas, &lt;br&gt;&lt;br&gt;Cheers, &lt;br&gt;&lt;br&gt;Rich</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sherpa99</dc:creator><pubDate>Wed, 07 Jan 2009 01:10:00 -0000</pubDate></item><item><title>Re: New VoteFu Feature: karma counting</title><link>http://blog.peteonrails.com/articles/2008/08/22/new-votefu-feature-karma-counting/#comment-4785295</link><description>Never mind I just figured out. It needs to be ./script/generate vote_fu&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;-Jazzy</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jazzy</dc:creator><pubDate>Tue, 30 Dec 2008 14:14:41 -0000</pubDate></item></channel></rss>