<?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 rbates</title><link>http://disqus.com/by/rbates/</link><description></description><atom:link href="http://disqus.com/rbates/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 17 Jan 2013 13:14:30 -0000</lastBuildDate><item><title>Re: 'Riven: The Sequel to Myst' for iPad Hits the App Store</title><link>http://toucharcade.com/2013/01/17/riven-the-sequel-to-myst-hits-the-app-store/#comment-771088331</link><description>&lt;p&gt;Riven: The Sequel to Myst for the iPhone has been out for quite some time. I think it's just Riven for iPad that is new. Maybe update the article to reflect this?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Thu, 17 Jan 2013 13:14:30 -0000</pubDate></item><item><title>Re: 'Arranger' Review - A Musical Journey That Shouldn't Be Missed</title><link>http://toucharcade.com/2012/11/19/arranger-review/#comment-715581541</link><description>&lt;p&gt;It has worked great for me in 2x mode on ipad. Graphics are retro so I don't even notice. Highly recommended.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Wed, 21 Nov 2012 02:42:05 -0000</pubDate></item><item><title>Re: RubyTapas Episode 21: Domain Model Events</title><link>http://devblog.avdi.org/2012/11/12/rubytapas-episode-21-domain-model-events/#comment-708467193</link><description>&lt;p&gt;Thank you for making this episode free Avdi, it has brought about some fun discussion on Twitter. Regarding my refactoring, it was more of an experiment to see how it could be done without using callbacks. I do think callbacks are a good use case for this.&lt;/p&gt;&lt;p&gt;Also, Jonas Nicklas pointed out there is a previous_changes method that dirty tracking provides. This could be used to clean up each of our refactorings.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Mon, 12 Nov 2012 14:59:40 -0000</pubDate></item><item><title>Re: Carl Sagan Inspires And So We Inspire</title><link>http://desperatethelark.tumblr.com/post/35386293401#comment-707067955</link><description>&lt;p&gt;I'm glad you've found RailsCasts useful, and I appreciate the kind words!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Sat, 10 Nov 2012 13:16:51 -0000</pubDate></item><item><title>Re: RubyTapas</title><link>https://rubytapas.dpdcart.com/subscriber/post?id=59#comment-706556562</link><description>&lt;p&gt;Great episode Avdi. The only thing I felt could use some clarification is the statement about the model layer not knowing about the current user and socket ID.&lt;/p&gt;&lt;p&gt;I believe this logic does belong in the model layer, however it is the controller's job to translate the current_user to an email_recipient. The difference is important even though it is the same object.&lt;/p&gt;&lt;p&gt;If you are interacting with the model outside of the request (such as in a rake task) the current_user does not make sense, but an email_recipient does. Therefore it is often okay to move the current_user into the model layer when giving it a new name.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Fri, 09 Nov 2012 17:07:54 -0000</pubDate></item><item><title>Re: RubyTapas</title><link>https://rubytapas.dpdcart.com/subscriber/post?id=59#comment-706544765</link><description>&lt;p&gt;I normally favor direct calls over observers, but this example seems like a good fit for observers since it involves triggering notifications when attributes change - keeping track of if the attribute changes can be rather messy other ways.&lt;/p&gt;&lt;p&gt;I also like that it adds the observers in the controller, that is what I believe should trigger the sending of email and other related events. I do not like permanent observers that invisibly send an email on every create/update.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Fri, 09 Nov 2012 16:50:32 -0000</pubDate></item><item><title>Re: Using Guard and Jasmine to Make CoffeeScript Testing Fast</title><link>http://robots.thoughtbot.com/post/32518624481#comment-666420704</link><description>&lt;p&gt;There's also Guard-Jasmine which uses PhantomJS to show results through the terminal. This way you won't need to have a browser window open.&lt;/p&gt;&lt;p&gt;&lt;a href="https://github.com/netzpirat/guard-jasmine" rel="nofollow noopener" target="_blank" title="https://github.com/netzpirat/guard-jasmine"&gt;https://github.com/netzpira...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Use this in combination with Jasminerice for easy coffeescript support if you're on a Rails app:&lt;/p&gt;&lt;p&gt;&lt;a href="https://github.com/bradphelan/jasminerice" rel="nofollow noopener" target="_blank" title="https://github.com/bradphelan/jasminerice"&gt;https://github.com/bradphel...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Sat, 29 Sep 2012 13:52:44 -0000</pubDate></item><item><title>Re: TA Plays: 'Shufflepuck Cantina' - An Air Hockey Game With Atmosphere</title><link>http://toucharcade.com/2012/09/17/ta-plays-shufflepuck-cantina-an-air-hockey-game-with-atmosphere/#comment-654608538</link><description>&lt;p&gt;And it hasn't crashed at all for me. Thanks for making such a solid game! I'm having a blast.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Tue, 18 Sep 2012 12:17:53 -0000</pubDate></item><item><title>Re: Steal Eggs With Aircraft In Rovio's Upcoming 'Bad Piggies'</title><link>http://toucharcade.com/2012/09/17/steal-eggs-with-aircraft-in-rovios-upcoming-bad-piggies/#comment-653551121</link><description>&lt;p&gt;This video autoplays so it is blaring every time I visit &lt;a href="http://toucharcade.com" rel="nofollow noopener" target="_blank" title="toucharcade.com"&gt;toucharcade.com&lt;/a&gt;. :(&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Mon, 17 Sep 2012 17:23:15 -0000</pubDate></item><item><title>Re: TA Plays: 'Shufflepuck Cantina' - An Air Hockey Game With Atmosphere</title><link>http://toucharcade.com/2012/09/17/ta-plays-shufflepuck-cantina-an-air-hockey-game-with-atmosphere/#comment-653548434</link><description>&lt;p&gt;I've been having a lot of fun with this game. Certainly there is a lot of IAP for the extras, but it isn't at all necessary to enjoy the game itself. I love how challenging it is at the first but gets much easier over time as you get better.&lt;/p&gt;&lt;p&gt;Here are some tips: Watch the paddle position before the opponent hits to predict where it will go, and there is a pattern to each of the special moves. You can earn the most credz in survival and bet modes.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Mon, 17 Sep 2012 17:20:34 -0000</pubDate></item><item><title>Re: Mastering Rails: The Ultimate Rails Project &amp;#038; Revisiting Railscasts</title><link>http://3amrails.com/blog/2012/07/mastering-rails-the-ultimate-rails-project-revisiting-railscasts/#comment-606400764</link><description>&lt;p&gt;Thank you for the kind words about RailsCasts. I'm glad you find it helpful!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Wed, 01 Aug 2012 11:35:45 -0000</pubDate></item><item><title>Re: Rails Rumble :: Just When You Thought You Were Out...</title><link>http://blog.railsrumble.com/2012/07/26/just-when-you-thought-you-were-out/#comment-598750577</link><description>&lt;p&gt;Looking forward to it! Thank you for all the great work you guys do to make this happen.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Thu, 26 Jul 2012 14:03:11 -0000</pubDate></item><item><title>Re: Tell, Don&amp;#8217;t Ask</title><link>http://robots.thoughtbot.com/post/27572137956#comment-592451080</link><description>&lt;p&gt;These examples nicely show the different types of refactorings, but their simplicity leaves me more-often preferring the "Not so good" code snippets. In general I prefer direct code over indirect code, but I believe these refactorings have value in more complex scenarios.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Thu, 19 Jul 2012 17:41:39 -0000</pubDate></item><item><title>Re: Active Record `attribute?` method</title><link>http://blog.plataformatec.com.br/2012/05/active-record-attribute-method/#comment-541139964</link><description>&lt;p&gt;I don't consider @post.url.present? a violation of the Law of Demeter. It is a method present on every Ruby object, so it does not require special knowledge of that object to call it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Tue, 29 May 2012 13:18:23 -0000</pubDate></item><item><title>Re: Active Record `attribute?` method</title><link>http://blog.plataformatec.com.br/2012/05/active-record-attribute-method/#comment-540483392</link><description>&lt;p&gt;I tend to favor clear code over concise code, and here `@post.url.present?` feels more clear to me than `@post.url?`. If it's a boolean attribute on the other hand, I'm all for the query method.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Mon, 28 May 2012 15:06:59 -0000</pubDate></item><item><title>Re: Rails isn't for beginners - Rake Routes</title><link>http://rakeroutes.com/blog/rails-is-not-for-beginners/#comment-484980534</link><description>&lt;p&gt;While I agree it would be great if Rails were easier to get started with on OS X. I don't think it has gotten worse. I remember going through the Hivelogic guide so many times in old versions of OS X. Remember this?&lt;/p&gt;&lt;p&gt;&lt;a href="http://hivelogic.com/articles/ruby-rails-mongrel-mysql-osx/" rel="nofollow noopener" target="_blank" title="http://hivelogic.com/articles/ruby-rails-mongrel-mysql-osx/"&gt;http://hivelogic.com/articl...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;That would take me a good hour to get everything setup. Now with Homebrew and RVM/rbenv, I can get setup with the latest versions of Ruby and Rails in a matter of minutes.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Tue, 03 Apr 2012 17:43:11 -0000</pubDate></item><item><title>Re: Let's Write a Gem: Part 2 - Rake Routes</title><link>https://www.rakeroutes.com/lets-write-a-gem-part-two#comment-453531721</link><description>&lt;p&gt;I disagree with this. I have tried both approaches and moving each should statement into a separate "it" block can really bloat a test suite and potentially make it much slower. In RSpec it will print out the line causing the failure making it quite easy to find the exact "should" statement which is failing.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Thu, 01 Mar 2012 12:26:31 -0000</pubDate></item><item><title>Re: Too LESS? Should You Be Using Sass?</title><link>http://metaskills.net/2012/02/27/too-less-should-you-be-using-sass/#comment-451431715</link><description>&lt;p&gt;What do you recommend to use with Twitter Bootstrap? Is that still a reason to use LESS or do you prefer one of the Sass translations?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Tue, 28 Feb 2012 13:14:02 -0000</pubDate></item><item><title>Re: A Game Development Curriculum</title><link>http://devblog.avdi.org/2012/01/24/a-game-development-curriculum/#comment-421595549</link><description>&lt;p&gt;I really enjoyed reading Core Techniques and Algorithms in Game Programming, more so for the concepts than the code. &lt;a href="http://www.amazon.com/Core-Techniques-Algorithms-Game-Programming/dp/0131020099/" rel="nofollow noopener" target="_blank" title="http://www.amazon.com/Core-Techniques-Algorithms-Game-Programming/dp/0131020099/"&gt;http://www.amazon.com/Core-...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Thu, 26 Jan 2012 13:50:25 -0000</pubDate></item><item><title>Re: My five favorite &amp;#8220;hidden&amp;#8221; features in Rails 3.2</title><link>http://blog.plataformatec.com.br/2012/01/my-five-favorite-hidden-features-in-rails-3-2/#comment-421523374</link><description>&lt;p&gt;Thanks for this José, great writeup. The ActiveRecord::Base#pluck method is one of my favorite additions: &lt;a href="http://api.rubyonrails.org/classes/ActiveRecord/Calculations.html#method-i-pluck" rel="nofollow noopener" target="_blank" title="http://api.rubyonrails.org/classes/ActiveRecord/Calculations.html#method-i-pluck"&gt;http://api.rubyonrails.org/...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Thu, 26 Jan 2012 12:22:34 -0000</pubDate></item><item><title>Re: How To Learn Rails: Railscasts</title><link>http://3amrails.com/blog/2012/01/how-to-learn-rails-railscasts/#comment-409958989</link><description>&lt;p&gt;Thank you for writing this blog post! It is wonderful to hear you have found RailsCasts helpful. Very encouraging for me.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Fri, 13 Jan 2012 13:01:53 -0000</pubDate></item><item><title>Re: http://3amrails.tumblr.com/post/14978066329</title><link>http://3amrails.com/blog/post/14978066329#comment-396659180</link><description>&lt;p&gt;I recently released a RailsCasts episode on getting started with Rails. Perhaps you will find it useful.&lt;/p&gt;&lt;p&gt;&lt;a href="http://railscasts.com/episodes/310-getting-started-with-rails" rel="nofollow noopener" target="_blank" title="http://railscasts.com/episodes/310-getting-started-with-rails"&gt;http://railscasts.com/episo...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Thu, 29 Dec 2011 12:15:00 -0000</pubDate></item><item><title>Re: Why you should care about encapsulation</title><link>http://gmoeck.github.com/2011/09/20/why-you-should-care-about-encapsulation.html#comment-316228136</link><description>&lt;p&gt;Great article on encapsulation. I look forward to seeing how you tie this in to mocking. On a related note, I was just reading an article on using mocks to drive design (mentioned by Avdi Grimm on Ruby Rogues): &lt;a href="http://www.jmock.org/oopsla2004.pdf" rel="nofollow noopener" target="_blank" title="http://www.jmock.org/oopsla2004.pdf"&gt;http://www.jmock.org/oopsla...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I still am not convinced mocks are worth it from a testing perspective, but I need to experiment more with using them as purely a design tool. What do you think about throwing mocks away after using them for design? The higher level tests fill the need for continuous integration testing.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Tue, 20 Sep 2011 18:47:05 -0000</pubDate></item><item><title>Re: Unobtrusive Ruby</title><link>http://robots.thoughtbot.com/post/10125070413#comment-316162776</link><description>&lt;p&gt;I love to see code that applies these (and similar) practices rigorously. Is there a specific gem or project you feel does this? If so, please link so we can check out the code.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Tue, 20 Sep 2011 16:51:46 -0000</pubDate></item><item><title>Re: What do you want to know about OOP and Rails?</title><link>http://devblog.avdi.org/2011/09/12/what-do-you-want-to-know-about-oop-and-rails/#comment-307978736</link><description>&lt;p&gt;Sounds great Avdi, I look forward to reading this.&lt;/p&gt;&lt;p&gt;While I usually know how to apply these design patterns, I more often struggle with *when* to apply them. Splitting a class into more classes can increase the complexity by adding indirection, abstraction, and just plain line count. What is the tipping point of a single model class that requires one to take this action? That question is hard to give a generic answer to, so maybe some specific examples would work well.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Bates</dc:creator><pubDate>Mon, 12 Sep 2011 13:46:55 -0000</pubDate></item></channel></rss>