you can just do current_user.favorite_versions << version 
and get rid of the helper method below