The latest news in the Ruby and Rails community.

Subscribe to our mailing list!

Episode #394

August 13th, 2013

Index attachments on Elasticsearch, Refinery 2.1 released, Conditionals Aren't Evil, Disable Postfix on OS X, validate with Mutations and take snapshots of your commit...


Conditionals Aren’t Evil, Unless You Duplicate Them

Wai Lee wrote a blog post showing examples where refactoring conditionals to polymorphism might introduce unnecessary complexity and actually make our code worse. According to Wai, it’s better to wait until we can see our code turning bad, due to code duplication, for example, before trying to fix it.

Visit site → Permalink

Previous Episodes

Episode #393

In today's episode, learn about the initializing and, get responsible with your refactoring, simplify your regular expression creation, get skeuomorphic with your credit card forms and so much more! Actually, just one more thing: two-factor authentication done easy. Now there's no more!

Episode #392

Reparing BREACH in Rails, Using state_machine with Authority, AR-JDBC 1.3 RC, developing with UltraHook, Running specs from Vim and using emojis on your RSpec output

Episode #391

Improve your vim knowledge with VimGenius, automated testing with screenshots, crack open PSDs, direct access with NSA Panel, markdown email generation, and better learning with all in this episode of Ruby5!

Episode #390

We'll Inherit from N+1 Ruby Core Classes, become a Ruby Warrior, find the princess, and win the RubyPrize with just a dash of Flynn on this episode of Ruby5.

View the archives →

Looking to learn about Ruby? Take a look at the Ruby Path on Code School

This podcast is produced and distributed by Code School. Copyright © 2015 Code School LLC