Fix rails4 images loading