rails4 session does not have fetch

Makes this work with rails4