Move caculating post score from application helper to post model