Cool Conditional Syntax in Ruby (on Rails)

Ruby is beautiful


@posts =
  if true
     Post.all
  else
    []
  end

Simply elegant!