Add gif validation to articles.rb model.