rails/rails — pull request #17387 by arthurkarganyan (2014-10-25 07:31:56+00:00)
Title: Little refactoring

If condition replaced by ternary operator