move has_attached_file :image before validates_attachment