created chart expiration alerts in views/residents/show.html.erb