sorry, I mean...

    tags = ""
    tags = post[:tags].downcase.strip unless post[:tags].nil?

Is that what you mean?