     # DESCRIPTION
     description = resource.description
     old_desc = resource.old_desc
-    if form["description"] && 
+    if string_param_exists(form["description"]) &&
       String.strip(form["description"]) != String.strip(resource.description) do
       description = String.strip(form["description"])
 

  defp bad_status(s) do
    s |> Integer.to_string |> String.starts_with?("4")
  end
end

    old_score = resource.old_score || []
    if form["rating"] != "" do
      {newscore, _} = Float.parse(form["rating"])
      new_old_score = %{ "user" => user.id, "score" => newscore, 
        "date" => Ecto.DateTime.local }
      old_score = [ new_old_score | old_score ]
      score_sum = old_score
      |> Enum.map(fn x -> x["score"] end)
      |> Enum.sum
      score = score_sum / length(old_score)
    end

    # TAGS
