helper for media objectrs
adding helper to view
updating gemfile