Rails get header response for a remote image -
i load in app facebook image of users (and performance load url of picture on db). when user change profile pic url must changed too.
how can detect response of external server (e.g. when 404) know must refresh url pictures of user?
you use rest-client, execute head request url , check response status.