Moving @pictures from pictures_controller into database