why not just  if options[:all]  ?