json.extract! @alert, :id, :author_id, :message, :created_at, :updated_at