photo/video sharing with rails