11 Sep '17, 1pm

Forget conditionals, use the Rail way

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found! Forget conditionals, use the Rail way by Benjamin Roth — Today Most of the time, with growing uncertainty, code goes rightwards. Nested conditions are difficult to read and error prone. The real intent is to check success/failure path, so why not make it clear? Post a comment You can use basic HTML markup (e.g. <a>) or Markdown. Authenticate with GitHub As you are not logged in, you will be directed via GitHub to signup or sign in

Full article: http://www.rubyflow.com/p/ecmgn6-forget-conditionals-use-...

Tweets

Don’t forget to #treatyourself this weekend! ht...

weelicious.com 17 Sep '17, 2am

We’re gaga in my house for this Eggless Chocolate Mousse. So much so, I guarantee that if I made it 365 days a year my kid...

We will never forget. #PatriotDay #September11

vfw.org 11 Sep '17, 1pm

KANSAS CITY, Mo. – September 11, 2001, is a day Americans will never forget, and this Monday, the Veterans of Foreign Wars...

via @HODINKEE

hodinkee.com 19 Sep '17, 5pm

@sh4t @scottdharvey For ClarityFCV you can use ...

cafcp.org 12 Sep '17, 11pm

CARS Makes & Models How it Works Safety Range What Customers Say STATIONS Station Map Locations Refilling Safety Making Hy...

Connectors boost performance 30%, meet rail standards...

Connectors boost performance 30%, meet rail sta...

ept.ca 10 Sep '17, 11am

SMITHS INTERCONNECT REP Series of high reliability, multi-pole, sealed rectangular plastic connectors comply with the most...

#Parksmart projects pave the way for #Sustainab...

gbci.org 11 Sep '17, 6am

With the number of vehicles expected to reach two billion by 2030, parking structures have emerged as a transformative too...

Gucci Mane Reveals Reebok DMX Run Collaboration With Iced Out Ice Cream Cone Chain

Gucci Mane Reveals Reebok DMX Run Collaboration...

sneakernews.com 15 Sep '17, 3pm

Earlier this week Reebok Classic announced a new partnership with pop superstar Arianna Grande, and now it looks like the ...

via @poshmarkapp #shopmycloset

poshmark.com 16 Sep '17, 7pm

Make money from clothes that are just sitting in your closet. List an item for sale in less than 60 seconds. Shop for new ...

How to use Elm Components in a Rails Application

rubyflow.com 12 Sep '17, 10am

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Will you be tuning in?

Will you be tuning in?

hypebeast.com 16 Sep '17, 9am

Another day, another Big Baller Brand headline. This time coming way of the eldest son, Lonzo Ball . The newly-drafted Los...

How to use Live Templates for Ruby on Rails in ...

rubyflow.com 14 Sep '17, 10am

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Don't forget to use this month's promo code for...

name.com 18 Sep '17, 5am

Some people like going to movie theatres to experience the latest films in incredible high-definition on the big screen. O...

via @business

bloomberg.com 15 Sep '17, 6am

Bitcoin’s more-than 20 percent slump this week on China’s reported plans to shut down cryptocurrency exchange trading has ...