"Thanks for the Giant Robots shout out. Interestingly, Filament Group is located about six blocks from thoughtbot in Boston but we don't chill we each other very often. I'm going to ping them as a result of this post. I really appreciate the Heroku company blog (and Adam Wiggins' blog), where I learned about the Twilio & Justin.tv APIs, how to take better advantage of Delayed::Job, background processing, HTTP caching, all kinds of stuff."
- Dan Croak
"Champions remodelled recently. They now have a huge extension at skyway-level (escalator up from the street). This new extension is super-modern and they have about 50 craft beers on the menu."
- Dan Croak
"Very cool. I'd like to see a rake or thor task or something that can take Matz' base and be modified to the tastes of a team working on the same source."
- Dan Croak
"That's a good practice, @rvdh. Kent Beck has some quote about never getting into trouble when you take small steps. In this case, I wrote the conditional in the most English-like way I could, which was comfortable for me. I watched the test error because same_day? did not exist (I skipped this step for brevity in the article), then wrote that method. I did not write a test for the private method."
- Dan Croak
"That's true, Michal. This implementation was written with our use case in mind (consecutive days of training, usually no more than three). It isn't intended to be re-usable across applications."
- Dan Croak
"Since this helper is used in the context of our training app, and we won't be running training over New Year's Eve/New Year's, I wouldn't add that case to this helper. However, there should be enough information in the post to guess what it might look like! I've written it here, tests passing: http://gist.github.com/211087"
- Dan Croak
"Frightening, but exactly the point. This is about influence, based on stats. These are the commentators reaching the most people. If you disagree with these commentators' agendas (as I do), spread counter-messages; re-tweet/re-blog Andrew Sullivan or Keith Olbermann or whoever, spread Jon Stewart videos."
- Dan Croak
"Yeah, sorry about that. I meant Blitz adds a belongs_to in the model, database index on the foreign key, and should_belong_to and should_have_index tests."
- Dan Croak
"Benjamin, I remember seeing andand() a while back but haven't looked at it in a while. Lot of good reading in the README and links from the README. I have to say I find andand() to be very ugly but I suppose you're right that swallow_nil() is a little heavy-handed."
- Dan Croak
"Patrick, I like your version the best so far, although I'm not a fan of statement modifiers and ternary operators. I particularly liked the clarity and intention of display_name and sanitize. Why did you choose the self[:first_name] style? I can't remember having seen that much but I like it."
- Dan Croak
"Agree with Joe. mrkris, in my opinion, naming classes, methods, and variables expressively should be the #1 goal of a programmer when writing or refactoring code."
- Dan Croak
"That is one tired bear. I like git branch tab completion. No idea where it came from, though. zsh is black magic to me. I'm going to guess here, though: http://github.com/jferris......"
- Dan Croak